summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
authorMicah Chalmer <micah@micahchalmer.net>2015-02-15 12:14:42 -0500
committerMicah Chalmer <micah@micahchalmer.net>2015-02-15 12:23:44 -0500
commitc7413e6b4422e6dc5a7e84d329121205b4b537ac (patch)
tree956203ea0d10e44509dd0c59599b1299896681c0 /rust-mode.el
parent3a0a72732a6d32b3c8924a342343ac0a9c66093b (diff)
downloadrust-mode-c7413e6b4422e6dc5a7e84d329121205b4b537ac.tar.gz
Don't set syntax-begin-function
Diffstat (limited to 'rust-mode.el')
-rw-r--r--rust-mode.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el
index 29bb820..53d2e5e 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -661,7 +661,6 @@ This is written mainly to be used as `end-of-defun-function' for Rust."
(setq-local beginning-of-defun-function 'rust-beginning-of-defun)
(setq-local end-of-defun-function 'rust-end-of-defun)
(setq-local parse-sexp-lookup-properties t)
- (setq-local syntax-begin-function 'beginning-of-defun)
(add-hook 'post-self-insert-hook 'rust-match-angle-bracket-hook))
;;;###autoload