diff options
author | Yuchen Pei <id@ypei.org> | 2023-07-18 20:09:31 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-07-18 20:09:31 +1000 |
commit | 183d9a4ae815fc3c1201b97e3d7ba405ac56b2c6 (patch) | |
tree | f102ac248837ad18b577dbaccd67dd26b09c3135 | |
parent | ed9c3c1676d3934544091eeac0a354bcc7672ddc (diff) |
Adding bug-reference related
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-prog.el | 3 | ||||
-rw-r--r-- | mariadb-server/.dir-locals.el | 3 |
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"))) + ) |