diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-11-04 10:00:26 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-11-04 10:00:26 +0000 |
commit | e038ae20ab23009300e06b2a35817d8c08023f92 (patch) | |
tree | 887487902023a8c58c1b2067a332981f001fa157 /.dir-locals.el | |
parent | 366b6a4c7c8fd6fda198e723c254fa0d74b96b0d (diff) |
Add bug-reference-bug-regexp and bug-reference-url-format
Diffstat (limited to '.dir-locals.el')
-rw-r--r-- | .dir-locals.el | 15 |
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) |