[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/counsel c9fdec4 1/2: Fix bug-reference-mode settings fo
From: |
Basil L. Contovounesios |
Subject: |
[elpa] externals/counsel c9fdec4 1/2: Fix bug-reference-mode settings for Emacs 28 |
Date: |
Sun, 19 Sep 2021 19:52:50 -0400 (EDT) |
branch: externals/counsel
commit c9fdec4e79bea7b15c3e35a984e45c9579fe7cdc
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>
Fix bug-reference-mode settings for Emacs 28
* .dir-locals.el (bug-reference-bug-regexp)
(bug-reference-url-format): Don't override Emacs 28's more general
DWIM initialization of these variables. Add the missing first
subgroup to the suggested bug-reference-bug-regexp value to avoid a
warning in Emacs 28.
---
.dir-locals.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.dir-locals.el b/.dir-locals.el
index 4e7d231..f18455c 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -2,8 +2,12 @@
;;; For more information see (info "(emacs) Directory Variables")
((nil
- (bug-reference-bug-regexp . "#\\(?2:[[:digit:]]+\\)")
- (bug-reference-url-format . "https://github.com/abo-abo/swiper/issues/%s")
+ ;; Emacs 28+ automatically sets up these `bug-reference-mode' variables
+ ;; in a more general way, so setting them here is not future-proof. If
+ ;; you still need these settings in older Emacs versions, you can add
+ ;; them to your personal `.dir-locals-2.el' file in the meantime.
+ ;; (bug-reference-bug-regexp . "\\(#\\([[:digit:]]+\\)\\)")
+ ;; (bug-reference-url-format . "https://github.com/abo-abo/swiper/issues/%s")
(copyright-names-regexp . "Free Software Foundation, Inc\\.")
(sentence-end-double-space . t))
(emacs-lisp-mode