From d53e8ba6b5656d973f764d29a7dc8f8bbf8708b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Fri, 10 Oct 2014 18:19:43 +0200
Subject: [PATCH] Augment '.dir-locals.el' with bug-reference-mode settings.

---
 .dir-locals.el | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/.dir-locals.el b/.dir-locals.el
index 6cd55e7788e..fe1f41c3ed8 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
   .
-- 
GitLab