Move debbugs' installation to bug-reference-mode' section

This commit is contained in:
Gerard Vermeulen 2024-05-09 08:21:32 +02:00
parent 22f255dfe4
commit 5f8e13f5e6

View File

@ -281,7 +281,7 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]].
(vertico . "gnu") (vertico . "gnu")
(with-editor . "nongnu") (with-editor . "nongnu")
(yasnippet . "gnu")) (yasnippet . "gnu"))
package-selected-packages '(debbugs no-littering)) package-selected-packages '(no-littering))
#+end_src #+end_src
#+caption[Set the third set of Emacs options: final tweaks]: #+caption[Set the third set of Emacs options: final tweaks]:
@ -5336,7 +5336,9 @@ Listing [[lst:bug-reference-mode]] configures ~bug-reference-mode~ for use with
#+caption: Setup ~bug-reference-mode~. #+caption: Setup ~bug-reference-mode~.
#+name: lst:bug-reference-mode #+name: lst:bug-reference-mode
#+begin_src emacs-lisp -n :results silent #+begin_src emacs-lisp -n :results silent
;; (info "(debbugs) Top")
;; (info "(emacs) Bug Reference") ;; (info "(emacs) Bug Reference")
(ensure-package-installation 'debbugs)
(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"
"Setting this as a file local variable enables `bug-reference-mode'") "Setting this as a file local variable enables `bug-reference-mode'")