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 | 5a618024bb83d677adc9f03097a1b2a06af953f3 (patch) | |
tree | 804af774f5afab0c809804e5e17818650522e941 /conf | |
parent | a507e6b6ec1eabeadc6bbdc25ffc2aa980cbd8fe (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" ))) |