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
|
(defvar bug-reference-url-format
|
||||||
"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s"
|
"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s"
|
||||||
"Format to use `gnu-debbugs' URL.")
|
"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)
|
(put 'bug-reference-mode 'safe-local-variable 'booleanp)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@ -5815,6 +5816,7 @@ for ~mpv~ while eliminating use of ~mpd~.
|
|||||||
;; Emacs looks for "Local variables:" after the last "form-feed".
|
;; Emacs looks for "Local variables:" after the last "form-feed".
|
||||||
|
|
||||||
;; Local Variables:
|
;; Local Variables:
|
||||||
|
;; eval: (bug-reference-mode +1)
|
||||||
;; indent-tabs-mode: nil
|
;; indent-tabs-mode: nil
|
||||||
;; End:
|
;; End:
|
||||||
;;; init.el ends here
|
;;; init.el ends here
|
||||||
|
Loading…
Reference in New Issue
Block a user