From 11c3fd9ffaa2b2a01d3e6eefc2b3b50c2a22bcc9 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Sun, 23 Jun 2024 13:50:07 +0200 Subject: [PATCH] Allow file local enabling of `bug-reference-mode' in elisp files --- README.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.org b/README.org index 1bca11b..511ce09 100644 --- a/README.org +++ b/README.org @@ -4399,6 +4399,7 @@ Listing [[lst:bug-reference-mode]] configures ~bug-reference-mode~ for use with (defvar bug-reference-url-format "https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s" "Format to use `gnu-debbugs' URL.") +(add-to-list 'safe-local-eval-forms '(bug-reference-mode +1)) (put 'bug-reference-mode 'safe-local-variable 'booleanp) #+end_src @@ -5815,6 +5816,7 @@ for ~mpv~ while eliminating use of ~mpd~. ;; Emacs looks for "Local variables:" after the last "form-feed". ;; Local Variables: +;; eval: (bug-reference-mode +1) ;; indent-tabs-mode: nil ;; End: ;;; init.el ends here