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
commit639cc7e3058f367a7b03553202f5bff6d67a0a40 (patch)
treeca9d43fc486a86b5ffb47e4db73f3218e3f3eaff /conf
parenta6519ecef9d3b8d406f44ff99baee30b4bd0cdef (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