From 3f0f63d9f6fc6b03303518972965f21a889a10e1 Mon Sep 17 00:00:00 2001 From: Moritz Muehlenhoff Date: Mon, 1 Aug 2022 08:32:32 +0200 Subject: cvelist.el: Default to bullseye --- conf/cvelist.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'conf') diff --git a/conf/cvelist.el b/conf/cvelist.el index 86bac21211..9ccb8e4aea 100644 --- a/conf/cvelist.el +++ b/conf/cvelist.el @@ -18,6 +18,7 @@ (setq last-nfu "") (setq bugnum "") (setq newsrcpkg "") +(setq default_distro "bullseye") ; TODO: Tab completion for existing NFUs (defun debian-cvelist-insert-not-for-us () @@ -48,7 +49,7 @@ (setq srcpkg (thing-at-point 'filename)) (next-line) (beginning-of-line) - (insert (concat "\t[buster] - " srcpkg " (" reason ")\n" ))) + (insert (concat "\t[" default_distro "] - " srcpkg " (" reason ")\n" ))) (defun debian-cvelist-insert-postponed () "Insert postponed comment based on the current source entry." @@ -57,7 +58,7 @@ (setq srcpkg (thing-at-point 'filename)) (next-line) (beginning-of-line) - (insert (concat "\t[buster] - " srcpkg " (" reason ")\n" ))) + (insert (concat "\t[" default_distro "] - " srcpkg " (" reason ")\n" ))) ; TODO: Read supported distros from central config and prompt for applicable suites (defun debian-cvelist-insert-not-affected () @@ -67,7 +68,7 @@ (setq srcpkg (thing-at-point 'filename)) (next-line) (beginning-of-line) - (insert (concat "\t[buster] - " srcpkg " (" reason ")\n" ))) + (insert (concat "\t[" default_distro "] - " srcpkg " (" reason ")\n" ))) ; TODO: Parse existing source entries for buffer tab completion (defun debian-cvelist-insert-srcentry () -- cgit v1.2.3