summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-10-10 18:19:43 +0200
committerLudovic Courtès <ludo@gnu.org>2014-10-12 00:14:09 +0200
commitd53e8ba6b5656d973f764d29a7dc8f8bbf8708b6 (patch)
treec1c164cfe505e663efc761b433e5bec5b9349b8d /.dir-locals.el
parentfddbf35bf50b74b11138c3eeeffe2a1047cdf706 (diff)
downloadgnu-guix-d53e8ba6b5656d973f764d29a7dc8f8bbf8708b6.tar
gnu-guix-d53e8ba6b5656d973f764d29a7dc8f8bbf8708b6.tar.gz
Augment '.dir-locals.el' with bug-reference-mode settings.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 6cd55e7788..fe1f41c3ed 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -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
.