From d7458c28f39e824c95fd6f75c8d26746fc71b226 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 18 Mar 2017 21:17:37 +0100 Subject: set open-paren-in-column-0-is-defun-start to nil Set open-paren-in-column-0-is-defun-start to nil in rust-mode. This setting is a performance hack in Emacs, at the expense of correctness in some cases. However, due to the syntax-ppss cache, I doubt whether this hack is needed for Rust code. Fixes #107 --- rust-mode-tests.el | 15 +++++++++++++++ rust-mode.el | 1 + 2 files changed, 16 insertions(+) diff --git a/rust-mode-tests.el b/rust-mode-tests.el index 7b29ee1..f7c2a91 100644 --- a/rust-mode-tests.el +++ b/rust-mode-tests.el @@ -1876,6 +1876,21 @@ pub fn foo