Setup `bug-reference-mode'

This commit is contained in:
Gerard Vermeulen 2024-05-07 10:15:30 +02:00
parent 2bfe874a65
commit 58929b05b9
1 changed files with 5 additions and 0 deletions

View File

@ -648,6 +648,10 @@ for technical information.
#+caption: Window management variables.
#+name: lst:3rd-window-management
#+begin_src emacs-lisp -n :results none
(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'")
(with-eval-after-load 'emacs
;; https://www.masteringemacs.org/article/demystifying-emacs-window-manager
(setopt switch-to-buffer-obey-display-actions t)
@ -7328,6 +7332,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"
# compile-command: "latexmk -interaction=nonstopmode -lualatex -pvc -shell-escape README.tex"
# fill-column: 80
# org-edit-src-content-indentation: 0