summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorMoritz Muehlenhoff <jmm@debian.org>2021-09-17 15:24:57 +0200
committerMoritz Muehlenhoff <jmm@debian.org>2021-09-17 15:24:57 +0200
commit136221e80b08e02cf64182f53333f0509267e7cd (patch)
tree637689b00383262dbc09430d97eb7b9b5af37072 /conf
parent4a92874cd8b8e50137372bcc0166d8f652750f24 (diff)
new defun for PTS lookups
Diffstat (limited to 'conf')
-rw-r--r--conf/cvelist.el6
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'.")

© 2014-2024 Faster IT GmbH | imprint | privacy policy