summaryrefslogtreecommitdiffstats
path: root/conf/cvelist.el
diff options
context:
space:
mode:
authorMoritz Muehlenhoff <jmm@debian.org>2015-08-16 09:30:57 +0000
committerMoritz Muehlenhoff <jmm@debian.org>2015-08-16 09:30:57 +0000
commitec66b449535ce8b403f021d785f50487451681b7 (patch)
tree22b07e0c02e632bba5ee3be58e1e6b337c0c991f /conf/cvelist.el
parent159e4e3423311760d9a3326bb2a1d9f2931cf1a0 (diff)
Add two simple keybindings to insert NOTE and NOT-FOR-US.
At some point I had written up completion of existing package names for NFUs/package entries, but I'm able to find that snippet ATM :-/ git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@36098 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'conf/cvelist.el')
-rw-r--r--conf/cvelist.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/conf/cvelist.el b/conf/cvelist.el
index 3eb4bacceb..ccb0126c34 100644
--- a/conf/cvelist.el
+++ b/conf/cvelist.el
@@ -19,6 +19,18 @@
("\\<end-of-life\\|not-affected\\|no-dsa\\>" . font-lock-constant-face)
))
+(global-set-key
+ (kbd "C-c C-f")
+ (lambda ()
+ (interactive)
+ (insert "\tNOT-FOR-US: ")))
+
+(global-set-key
+ (kbd "C-c C-n")
+ (lambda ()
+ (interactive)
+ (insert "\tNOTE: ")))
+
(define-derived-mode debian-cvelist-mode fundamental-mode
(setq font-lock-defaults '(debian-cvelist-highlights))
(setq mode-name "debian cvelist"))

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