summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorMoritz Muehlenhoff <jmm@debian.org>2021-03-11 09:49:06 +0100
committerMoritz Muehlenhoff <jmm@debian.org>2021-03-11 09:49:06 +0100
commit2b5c3766d61829a8f0c949dfc2e21c14f1eeab17 (patch)
treed975a90687d39d8d8e474da3f5a1a331eb8007bb /conf
parent2e7ddea0d8479823d277eb08906ead7c06254b01 (diff)
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.
Diffstat (limited to 'conf')
-rw-r--r--conf/cvelist.el2
1 files changed, 1 insertions, 1 deletions
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 " <no-dsa> (" reason ")\n" )))

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