emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Disable electric quotes in the Emacs codebase.


From: Philipp Stephani
Subject: [PATCH] Disable electric quotes in the Emacs codebase.
Date: Wed, 2 Jan 2019 22:21:28 +0100

* .dir-locals.el: Disable electric quotes in comments and strings, as
the Emacs codebase doesn't use them.
---
 .dir-locals.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.dir-locals.el b/.dir-locals.el
index 68eb58fa18..1089b1f892 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,6 +1,8 @@
 ((nil . ((tab-width . 8)
          (sentence-end-double-space . t)
-         (fill-column . 70)))
+         (fill-column . 70)
+         (electric-quote-comment . nil)
+         (electric-quote-string . nil)))
  (c-mode . ((c-file-style . "GNU")
             (c-noise-macro-names . ("UNINIT" "CALLBACK" "ALIGN_STACK"))))
  (objc-mode . ((c-file-style . "GNU")))
-- 
2.17.2 (Apple Git-113)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]