summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
authorRoy Crihfield <rscrihf@gmail.com>2015-03-08 22:12:14 -0400
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-04-30 12:39:01 +0200
commit2f0c84fdccbfefe19611bb751af25a2401a79317 (patch)
tree6d8d28315b0726219795046f313e8ca15864149b /rust-mode.el
parent5d0fce59c71f66e7d11469dc9264817d37f51028 (diff)
downloadrust-mode-2f0c84fdccbfefe19611bb751af25a2401a79317.tar.gz
rust-align-to-method-chain: Jump over symbols, not words
Diffstat (limited to 'rust-mode.el')
-rw-r--r--rust-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el
index 856ee5a..6df4ffc 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -140,7 +140,7 @@
((skip-dot-identifier
(lambda ()
(when (looking-back (concat "\\." rust-re-ident))
- (backward-word 1)
+ (forward-thing 'symbol -1)
(backward-char)
(- (current-column) rust-indent-offset)))))
(cond