summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorMoritz Muehlenhoff <jmm@debian.org>2022-07-20 11:16:36 +0200
committerMoritz Muehlenhoff <jmm@debian.org>2022-07-20 11:16:36 +0200
commitf0891687cefe614e1860aa8352332f00aa6dd4bf (patch)
tree8a73a560d7d900af52de7e9f8697a76645614d4a /conf
parentc869c61c1f95a6f70a0cbf12c2244e65597af0df (diff)
cvelist.el: Retain source package name from former action when adding a new CVE entry
Diffstat (limited to 'conf')
-rw-r--r--conf/cvelist.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/cvelist.el b/conf/cvelist.el
index 0242d4fca5..86bac21211 100644
--- a/conf/cvelist.el
+++ b/conf/cvelist.el
@@ -17,6 +17,7 @@
(setq last-nfu "")
(setq bugnum "")
+(setq newsrcpkg "")
; TODO: Tab completion for existing NFUs
(defun debian-cvelist-insert-not-for-us ()
@@ -72,11 +73,11 @@
(defun debian-cvelist-insert-srcentry ()
"Insert new source package entry."
(interactive)
- (setq srcpkg (read-string "Source package: " ""))
+ (setq newsrcpkg (read-string "Source package: " newsrcpkg))
(setq version (read-string "Fixed version: " "<unfixed>"))
(next-line)
(beginning-of-line)
- (insert (concat "\t- " srcpkg " " version "\n")))
+ (insert (concat "\t- " newsrcpkg " " version "\n")))
(defun debian-cvelist-cvesearch ()
"Look up a CVE ID at the MITRE website."

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