diff options
author | Moritz Muehlenhoff <jmm@debian.org> | 2021-09-17 15:24:57 +0200 |
---|---|---|
committer | Moritz Muehlenhoff <jmm@debian.org> | 2021-09-17 15:24:57 +0200 |
commit | 55344906f54d83259a24d10dbda779fade93efdb (patch) | |
tree | f4e21bad05ee4a033e7bd7720d3ccb86c20d2deb /conf | |
parent | 3230570c7cbc3cc00c6b0e5c4ecede9749f72a77 (diff) |
new defun for PTS lookups
Diffstat (limited to 'conf')
-rw-r--r-- | conf/cvelist.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/cvelist.el b/conf/cvelist.el index 94472f6c96..d35874980e 100644 --- a/conf/cvelist.el +++ b/conf/cvelist.el @@ -83,6 +83,11 @@ (interactive) (browse-url (concat "https://cve.mitre.org/cgi-bin/cvename.cgi?name=" (thing-at-point 'symbol)))) +(defun debian-cvelist-ptslookup () + "Look up a package name in Debian Package Tracker." + (interactive) + (browse-url (concat "https://tracker.debian.org/pkg/" (thing-at-point 'symbol)))) + (defvar debian-cvelist-mode-map (let ((map (make-sparse-keymap))) (define-key map (kbd "C-c C-f") 'debian-cvelist-insert-not-for-us) @@ -93,6 +98,7 @@ (define-key map (kbd "C-c C-x") 'debian-cvelist-insert-not-affected) (define-key map (kbd "C-c C-p") 'debian-cvelist-insert-postponed) (define-key map (kbd "C-c C-b") 'debian-cvelist-insert-bug) + (define-key map (kbd "C-c C-p") 'debian-cvelist-ptslookup) map) "Keymap for `debian-cvelist-mode'.") |