Augment '.dir-locals.el' with bug-reference-mode settings.
authorLudovic Courtès <ludo@gnu.org>
Fri, 10 Oct 2014 16:19:43 +0000 (18:19 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 11 Oct 2014 22:14:09 +0000 (00:14 +0200)
.dir-locals.el

index 6cd55e7..fe1f41c 100644 (file)
@@ -1,7 +1,13 @@
 ;; Per-directory local variables for GNU Emacs 23 and later.
 
-((nil             . ((fill-column . 78)
-                     (tab-width   .  8)))
+((nil
+  . ((fill-column . 78)
+     (tab-width   .  8)
+
+     ;; 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]+\\)>")))
  (c-mode          . ((c-file-style . "gnu")))
  (scheme-mode
   .