summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorAlex Branham <alex.branham@gmail.com>2019-04-09 16:27:50 -0500
committerAlex Branham <alex.branham@gmail.com>2019-04-09 16:29:09 -0500
commitd96b672f2b738bb6364023c2dcb9111efd3855ed (patch)
tree0da54b89dc2b3e745174c1852dcab88243ea7707 /.dir-locals.el
parent6cb49922e63c2523ccdd6e0a6bd72bcfa72c50c6 (diff)
downloademacs-d96b672f2b738bb6364023c2dcb9111efd3855ed.tar.gz
Use lexical-binding in bug-reference.el
* .dir-locals.el: Set bug-reference-url-format in all modes, not just changelog mode. Use (eval . (bug-reference-mode)) as described in (info "(emacs) Specifying File Variables") * lisp/progmodes/bug-reference.el: Use lexical binding. (bug-reference-unfontify): (bug-reference-fontify): Mention args in docstring. Bug#35123
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 9cd39920c23..ffd65c88027 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,6 +1,7 @@
((nil . ((tab-width . 8)
(sentence-end-double-space . t)
- (fill-column . 70)))
+ (fill-column . 70)
+ (bug-reference-url-format . "https://debbugs.gnu.org/%s")))
(c-mode . ((c-file-style . "GNU")
(c-noise-macro-names . ("INLINE" "ATTRIBUTE_NO_SANITIZE_UNDEFINED" "UNINIT" "CALLBACK" "ALIGN_STACK"))
(electric-quote-comment . nil)
@@ -12,8 +13,7 @@
(log-edit-setup-add-author . t)))
(change-log-mode . ((add-log-time-zone-rule . t)
(fill-column . 74)
- (bug-reference-url-format . "https://debbugs.gnu.org/%s")
- (mode . bug-reference)))
+ (eval . (bug-reference-mode))))
(diff-mode . ((mode . whitespace)))
(emacs-lisp-mode . ((indent-tabs-mode . nil)
(electric-quote-comment . nil)