[Secure-testing-commits] r36098 - conf

Moritz Muehlenhoff jmm at moszumanska.debian.org
Sun Aug 16 09:30:57 UTC 2015


Author: jmm
Date: 2015-08-16 09:30:57 +0000 (Sun, 16 Aug 2015)
New Revision: 36098

Modified:
   conf/cvelist.el
Log:
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 :-/


Modified: conf/cvelist.el
===================================================================
--- conf/cvelist.el	2015-08-16 09:26:42 UTC (rev 36097)
+++ conf/cvelist.el	2015-08-16 09:30:57 UTC (rev 36098)
@@ -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"))




More information about the Secure-testing-commits mailing list