.dir-locals: Adjust to bug-reference-mode in Emacs 28.
authorLudovic Courtès <ludo@gnu.org>
Tue, 7 Jun 2022 16:14:52 +0000 (18:14 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 7 Jun 2022 16:29:12 +0000 (18:29 +0200)
* .dir-locals.el: Adjust 'bug-reference-bug-regexp' and
'bug-reference-url-format' to Emacs 28.

.dir-locals.el

index 09e1922..da6a44e 100644 (file)
@@ -6,9 +6,9 @@
      (sentence-end-double-space . t)
 
      ;; For use with 'bug-reference-prog-mode'.
-     (bug-reference-url-format . "http://bugs.gnu.org/%s")
      (bug-reference-bug-regexp
-      . "<https?://\\(debbugs\\|bugs\\)\\.gnu\\.org/\\([0-9]+\\)>")
+      . "\\(<https?://\\bugs\\.gnu\\.org/\\([0-9]+\\)>\\)")
+     (bug-reference-url-format . "https://bugs.gnu.org/%s")
 
      ;; Emacs-Guix
      (eval . (setq-local guix-directory