aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-07-18 20:09:31 +1000
committerYuchen Pei <id@ypei.org>2023-07-18 20:09:31 +1000
commit183d9a4ae815fc3c1201b97e3d7ba405ac56b2c6 (patch)
treef102ac248837ad18b577dbaccd67dd26b09c3135
parented9c3c1676d3934544091eeac0a354bcc7672ddc (diff)
Adding bug-reference related
-rw-r--r--emacs/.emacs.d/lisp/my/my-prog.el3
-rw-r--r--mariadb-server/.dir-locals.el3
2 files changed, 5 insertions, 1 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-prog.el b/emacs/.emacs.d/lisp/my/my-prog.el
index ca54ad9..cb90ca0 100644
--- a/emacs/.emacs.d/lisp/my/my-prog.el
+++ b/emacs/.emacs.d/lisp/my/my-prog.el
@@ -471,7 +471,8 @@ left and the source buffer on the right.
(setq-local comment-auto-fill-only-comments t)
(auto-fill-mode)
(display-line-numbers-mode)
- (setq tab-width 2))
+ (setq tab-width 2)
+ (bug-reference-prog-mode))
(provide 'my-prog)
;;; my-prog.el ends here
diff --git a/mariadb-server/.dir-locals.el b/mariadb-server/.dir-locals.el
new file mode 100644
index 0000000..595eb5b
--- /dev/null
+++ b/mariadb-server/.dir-locals.el
@@ -0,0 +1,3 @@
+((nil . ((bug-reference-bug-regexp . "\\<\\(\\)\\([Mm][Dd][Ee][Vv]-[0-9]+\\)\\>")
+ (bug-reference-url-format . "https://jira.mariadb.org/browse/%s")))
+ )