From 2f0c84fdccbfefe19611bb751af25a2401a79317 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Sun, 8 Mar 2015 22:12:14 -0400 Subject: rust-align-to-method-chain: Jump over symbols, not words --- rust-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust-mode.el') 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 -- cgit v1.2.3