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.
main
YugaEgo 2022-01-17 18:39:55 +02:00 committed by Stefan Monnier
parent f230c9f40d
commit 4703fb3d64
3 changed files with 17 additions and 5 deletions

17
.dir-locals.el Normal file
View File

@ -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))))

1
README
View File

@ -587,7 +587,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
#+BEGIN_COMMENT
Local variables:
mode: org
fill-column: 70
paragraph-separate: "[ ]*$"
time-stamp-pattern: "4/#\\+DATE: %Y-%02m-%02d$"
end:

View File

@ -580,7 +580,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: