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 | 136221e80b08e02cf64182f53333f0509267e7cd (patch) | |
tree | 637689b00383262dbc09430d97eb7b9b5af37072 /conf/cvelist.el | |
parent | 4a92874cd8b8e50137372bcc0166d8f652750f24 (diff) |
new defun for PTS lookups
Diffstat (limited to 'conf/cvelist.el')
-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'.") |