summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
authorMicah Chalmer <micah@micahchalmer.net>2015-02-06 22:26:56 -0500
committerMicah Chalmer <micah@micahchalmer.net>2015-02-06 22:39:06 -0500
commit2038365705131ce73c4511e886f2896fa83b01c4 (patch)
treeafe6a39707abab13a82a859e397649cad1d29eea /rust-mode.el
parentf3e8f2029e02d635eb49ee03d03ff4c67516a1d8 (diff)
downloadrust-mode-2038365705131ce73c4511e886f2896fa83b01c4.tar.gz
Fix bug in rust-indent-method-chains
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 3413592..43afd9a 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -131,7 +131,7 @@
;;
((skip-dot-identifier
(lambda ()
- (when (looking-back (concat "\." rust-re-ident))
+ (when (looking-back (concat "\\." rust-re-ident))
(backward-word 1)
(backward-char)
(- (current-column) rust-indent-offset)))))