diff options
author | Moritz Muehlenhoff <jmm@debian.org> | 2021-03-11 09:49:06 +0100 |
---|---|---|
committer | Moritz Muehlenhoff <jmm@debian.org> | 2021-03-11 09:49:06 +0100 |
commit | a9b6712ad9c922e32532bd528813b87d5ae7b4a7 (patch) | |
tree | 39724e165813c69a2f5d1c7172c6cb835a10c33a /conf | |
parent | 033c05076a1a017f8ca72a3f825e65d794e30f5d (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.el | 2 |
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" ))) |