From b470bb8c6c82cdbb45cd9535b77b97fe8dfa99cd Mon Sep 17 00:00:00 2001 From: YugaEgo Date: Mon, 17 Jan 2022 18:39:55 +0200 Subject: [PATCH] Add .dir-locals.el * .dir-locals.el: New file. * README (Local variables): Move fill-column to .dir-locals.el. * elpa-packages (Local Variables): Move indent-tabs-mode to .dir-locals.el. --- .dir-locals.el | 17 +++++++++++++++++ README | 1 - elpa-packages | 4 ---- 3 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 .dir-locals.el diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000000..949deb6c78 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,17 @@ +;;; Directory Local Variables +;;; For more information see (info "(emacs) Directory Variables") + +((nil . ((tab-width . 8) + (sentence-end-double-space . t) + (fill-column . 70) + (bug-reference-url-format . "https://debbugs.gnu.org/%s"))) + (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) + (fill-column . 74) + (mode . bug-reference))) + (diff-mode . ((mode . whitespace))) + (lisp-data-mode . ((indent-tabs-mode . nil) + (electric-quote-comment . nil) + (electric-quote-string . nil) + (mode . bug-reference-prog)))) diff --git a/README b/README index f05e9e58ac..cb437651fc 100644 --- a/README +++ b/README @@ -587,7 +587,6 @@ along with GNU Emacs. If not, see . #+BEGIN_COMMENT Local variables: mode: org -fill-column: 70 paragraph-separate: "[ ]*$" time-stamp-pattern: "4/#\\+DATE: %Y-%02m-%02d$" end: diff --git a/elpa-packages b/elpa-packages index 902fce5adb..859054226c 100644 --- a/elpa-packages +++ b/elpa-packages @@ -578,7 +578,3 @@ ("zones" :url nil) ;https://www.emacswiki.org/emacs/zones.el ("ztree" :url "https://github.com/fourier/ztree") ) - -;; Local Variables: -;; indent-tabs-mode: nil -;; End: -- 2.34.1