Emacs: Make bug references clickable.

This commit is contained in:
tastytea 2020-04-20 21:27:46 +02:00
parent eabc35c0b4
commit c3059efa7b
2 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-04-17T02:54:46+0200>
;; Time-stamp: <2020-04-20T21:27:05+0200>
;;; Commentary:
@ -238,5 +238,11 @@ year if mode is derived from prog-mode."
:diminish rainbow-mode
:hook (prog-mode . rainbow-mode))
;; Make bug references clickable.
(use-package bug-reference
:ensure nil ; Inbuilt.
:config (put 'bug-reference-url-format 'safe-local-variable #'stringp)
:hook (prog-mode . bug-reference-prog-mode))
(provide 'programming/common)
;;; common.el ends here

View File

@ -1,6 +1,6 @@
;;; git.el --- magit and stuff. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-04-20T00:00:04+0200>
;; Time-stamp: <2020-04-20T21:27:15+0200>
;;; Commentary:
@ -59,10 +59,10 @@
(use-package forge
:after magit
:config
(add-to-list 'forge-alist '("schlomp.space" "schlomp.space/api/v1"
"schlomp.space" forge-gitea-repository))
)
:config (add-to-list 'forge-alist
'("schlomp.space" "schlomp.space/api/v1"
"schlomp.space" forge-gitea-repository))
:hook (prog-mode . forge-bug-reference-setup))
) ; unless slow-computer.
;; Show VC status in fringe.