summaryrefslogtreecommitdiffstats
path: root/conf
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
commit6be69d4cbfa7b4f5eedd1ae00e52dc254e7da507 (patch)
tree8391d45d76b4a797486cb480b7f8f756a9276aa3 /conf
parentc52eadc024ad425864211d0ab7ad35e7ad5a6b7d (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')
-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