From 2b5c3766d61829a8f0c949dfc2e21c14f1eeab17 Mon Sep 17 00:00:00 2001 From: Moritz Muehlenhoff Date: Thu, 11 Mar 2021 09:49:06 +0100 Subject: debian-cvelist-insert-nodsa: switch thing-at-point data type file-name includes "." as well and it's not really worth the effort to add a specific regex for Debian srcpkg names. --- conf/cvelist.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/cvelist.el b/conf/cvelist.el index 2c89c11ce5..3318c01a75 100644 --- a/conf/cvelist.el +++ b/conf/cvelist.el @@ -30,7 +30,7 @@ "Insert no-dsa comment based on the current source entry." (interactive) (setq reason (read-string "Reason for no-dsa: " "Minor issue")) - (setq srcpkg (thing-at-point 'symbol)) + (setq srcpkg (thing-at-point 'filename)) (next-line) (beginning-of-line) (insert (concat "\t[buster] - " srcpkg " (" reason ")\n" ))) -- cgit v1.2.3