diff options
| author | Philipp Stephani | 2019-01-02 22:01:54 +0100 |
|---|---|---|
| committer | Philipp Stephani | 2019-01-15 01:36:47 +0100 |
| commit | 9530108fbc8bbf1ad5c1debe4b4f21da1238325b (patch) | |
| tree | 0a3aab599fd4682b4d438a402ffadeb29f9b512a | |
| parent | 1b6ef26eb653c9d1e4fdbd16d314679cdb26e8ae (diff) | |
| download | emacs-9530108fbc8bbf1ad5c1debe4b4f21da1238325b.tar.gz emacs-9530108fbc8bbf1ad5c1debe4b4f21da1238325b.zip | |
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.
| -rw-r--r-- | .dir-locals.el | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index 68eb58fa18b..96473a7086d 100644 --- a/.dir-locals.el +++ b/.dir-locals.el | |||
| @@ -2,8 +2,12 @@ | |||
| 2 | (sentence-end-double-space . t) | 2 | (sentence-end-double-space . t) |
| 3 | (fill-column . 70))) | 3 | (fill-column . 70))) |
| 4 | (c-mode . ((c-file-style . "GNU") | 4 | (c-mode . ((c-file-style . "GNU") |
| 5 | (c-noise-macro-names . ("UNINIT" "CALLBACK" "ALIGN_STACK")))) | 5 | (c-noise-macro-names . ("UNINIT" "CALLBACK" "ALIGN_STACK")) |
| 6 | (objc-mode . ((c-file-style . "GNU"))) | 6 | (electric-quote-comment . nil) |
| 7 | (electric-quote-string . nil))) | ||
| 8 | (objc-mode . ((c-file-style . "GNU") | ||
| 9 | (electric-quote-comment . nil) | ||
| 10 | (electric-quote-string . nil))) | ||
| 7 | (log-edit-mode . ((log-edit-font-lock-gnu-style . t) | 11 | (log-edit-mode . ((log-edit-font-lock-gnu-style . t) |
| 8 | (log-edit-setup-add-author . t))) | 12 | (log-edit-setup-add-author . t))) |
| 9 | (change-log-mode . ((add-log-time-zone-rule . t) | 13 | (change-log-mode . ((add-log-time-zone-rule . t) |
| @@ -11,4 +15,8 @@ | |||
| 11 | (bug-reference-url-format . "https://debbugs.gnu.org/%s") | 15 | (bug-reference-url-format . "https://debbugs.gnu.org/%s") |
| 12 | (mode . bug-reference))) | 16 | (mode . bug-reference))) |
| 13 | (diff-mode . ((mode . whitespace))) | 17 | (diff-mode . ((mode . whitespace))) |
| 14 | (emacs-lisp-mode . ((indent-tabs-mode . nil)))) | 18 | (emacs-lisp-mode . ((indent-tabs-mode . nil) |
| 19 | (electric-quote-comment . nil) | ||
| 20 | (electric-quote-string . nil))) | ||
| 21 | (texinfo-mode . ((electric-quote-comment . nil) | ||
| 22 | (electric-quote-string . nil)))) | ||