diff options
| author | Felix S Klock II <pnkfelix@pnkfx.org> | 2015-02-16 01:46:00 +0100 |
|---|---|---|
| committer | Felix S Klock II <pnkfelix@pnkfx.org> | 2015-02-16 01:46:00 +0100 |
| commit | 97f644577424547498ab4de5b0ec053c978cf39c (patch) | |
| tree | 0b9e828eef78e605965a920ca82365133961092b /rust-mode.el | |
| parent | 3a0a72732a6d32b3c8924a342343ac0a9c66093b (diff) | |
| parent | fea20e7b9f5c777fb52ea51ab50ac03ee19ffdba (diff) | |
| download | rust-mode-97f644577424547498ab4de5b0ec053c978cf39c.tar.gz | |
Merge pull request #38 from MicahChalmer/fix-issue-36
Fix emacs state corruption from incorrect "syntax-begin-function" setting
Diffstat (limited to 'rust-mode.el')
| -rw-r--r-- | rust-mode.el | 1 |
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 |
