[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 9530108: Disable electric quotes for most files in
From: |
Philipp Stephani |
Subject: |
[Emacs-diffs] master 9530108: Disable electric quotes for most files in the Emacs codebase. |
Date: |
Mon, 14 Jan 2019 19:37:57 -0500 (EST) |
branch: master
commit 9530108fbc8bbf1ad5c1debe4b4f21da1238325b
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
Disable electric quotes for most files in the Emacs codebase.
* .dir-locals.el: Disable electric quotes in comments and strings for
C, Emacs Lisp, and Texinfo, as the Emacs codebase doesn't use them.
---
.dir-locals.el | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/.dir-locals.el b/.dir-locals.el
index 68eb58f..96473a7 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -2,8 +2,12 @@
(sentence-end-double-space . t)
(fill-column . 70)))
(c-mode . ((c-file-style . "GNU")
- (c-noise-macro-names . ("UNINIT" "CALLBACK" "ALIGN_STACK"))))
- (objc-mode . ((c-file-style . "GNU")))
+ (c-noise-macro-names . ("UNINIT" "CALLBACK" "ALIGN_STACK"))
+ (electric-quote-comment . nil)
+ (electric-quote-string . nil)))
+ (objc-mode . ((c-file-style . "GNU")
+ (electric-quote-comment . nil)
+ (electric-quote-string . nil)))
(log-edit-mode . ((log-edit-font-lock-gnu-style . t)
(log-edit-setup-add-author . t)))
(change-log-mode . ((add-log-time-zone-rule . t)
@@ -11,4 +15,8 @@
(bug-reference-url-format . "https://debbugs.gnu.org/%s")
(mode . bug-reference)))
(diff-mode . ((mode . whitespace)))
- (emacs-lisp-mode . ((indent-tabs-mode . nil))))
+ (emacs-lisp-mode . ((indent-tabs-mode . nil)
+ (electric-quote-comment . nil)
+ (electric-quote-string . nil)))
+ (texinfo-mode . ((electric-quote-comment . nil)
+ (electric-quote-string . nil))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 9530108: Disable electric quotes for most files in the Emacs codebase.,
Philipp Stephani <=