summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-11-04 10:00:26 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-11-04 10:00:26 +0000
commite038ae20ab23009300e06b2a35817d8c08023f92 (patch)
tree887487902023a8c58c1b2067a332981f001fa157 /.dir-locals.el
parent366b6a4c7c8fd6fda198e723c254fa0d74b96b0d (diff)
Add bug-reference-bug-regexp and bug-reference-url-format
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el15
1 files changed, 11 insertions, 4 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 954c3d50..67dd2377 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,16 +1,23 @@
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
-;; The `nameless-*' variables normalize all files to have the same prefix with
-;; the `nameless' package, and instruct the package to not mess with
-;; indentation.
((nil
+ (bug-reference-url-format . "https://github.com/clojure-emacs/cider/issues/%s")
(indent-tabs-mode)
(fill-column . 80)
(sentence-end-double-space . t)
(emacs-lisp-docstring-fill-column . 75)
(checkdoc-arguments-in-order-flag))
(emacs-lisp-mode
- (nameless-affect-indentation-and-filling . nil)
+ (bug-reference-bug-regexp . "#\\(?2:[[:digit:]]+\\)")
+ (nameless-affect-indentation-and-filling)
(nameless-current-name . "cider")))
+
+;; The `nameless-*' variables normalize all files to have the same prefix with
+;; the `nameless' package, and instruct the package to not mess with
+;; indentation.
+
+;; To use the bug-reference stuff, do:
+;; (add-hook 'text-mode-hook #'bug-reference-mode)
+;; (add-hook 'prog-mode-hook #'bug-reference-prog-mode)