Allow file local enabling of `bug-reference-mode' in elisp files
This commit is contained in:
parent
c9278bb3ea
commit
11c3fd9ffa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user