From 183d9a4ae815fc3c1201b97e3d7ba405ac56b2c6 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Tue, 18 Jul 2023 20:09:31 +1000 Subject: Adding bug-reference related --- emacs/.emacs.d/lisp/my/my-prog.el | 3 ++- mariadb-server/.dir-locals.el | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 mariadb-server/.dir-locals.el 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"))) + ) -- cgit v1.2.3