Tweak the `bug-reference-mode' setup

This commit is contained in:
Gerard Vermeulen 2024-06-14 11:06:46 +02:00
parent 043fc9d892
commit 4ca6f93c8a

View File

@ -4961,7 +4961,8 @@ Listing [[lst:bug-reference-mode]] configures ~bug-reference-mode~ for use with
(ensure-package-installation 'debbugs)
(defvar bug-reference-url-format
"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s"
"Setting this as a file local variable enables `bug-reference-mode'")
"Format to use `gnu-debbugs' URL.")
(put 'bug-reference-mode 'safe-local-variable 'booleanp))
#+end_src
*** [[info:elisp#Debugging][Debugging Emacs Lisp (info)]]
@ -6402,7 +6403,7 @@ Only the [[info:org#Top][Org]] source file shows the local variables footer.
# Emacs looks for "Local variables:" after the last "newline-formfeed".
# Local Variables:
# bug-reference-url-format: "https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s"
# bug-reference-mode: t
# compile-command: "latexmk -interaction=nonstopmode -lualatex -pvc -shell-escape README.tex"
# fill-column: 80
# org-edit-src-content-indentation: 0