summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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