From fb7d927563e41543ed9951e8d7c961f7b2f3eaa2 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 18 Sep 2007 01:48:23 +0000 Subject: [PATCH] (css-electric-keys): electrick->electric. (css-mode): Update correspondingly. --- lisp/ChangeLog | 8 ++++++-- lisp/textmodes/css-mode.el | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dffaebff3c0..d451c2e9ec9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-09-18 Stefan Monnier + + * textmodes/css-mode.el (css-electric-keys): electrick->electric. + (css-mode): Update correspondingly. + 2007-09-18 Stefan Monnier * vc-arch.el (vc-arch-extra-menu-map): New var and fun. @@ -15,8 +20,7 @@ * vc.el: Document new VC operation `extra-menu'. - * vc-hooks.el (vc-default-extra-menu, vc-menu-map-filter): New - function. + * vc-hooks.el (vc-default-extra-menu, vc-menu-map-filter): New fun. 2007-09-17 Dan Nicolaescu diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index f686215d31c..d21559411e7 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el @@ -169,7 +169,7 @@ "word-spacing" "z-index") "Identifiers for properties.") -(defcustom css-electrick-keys '(?\} ?\;) ;; '() +(defcustom css-electric-keys '(?\} ?\;) ;; '() "Self inserting keys which should trigger re-indentation." :type '(repeat character) :options '((?\} ?\;))) @@ -263,10 +263,10 @@ (set (make-local-variable 'indent-line-function) 'css-indent-line) (set (make-local-variable 'fill-paragraph-function) 'css-fill-paragraph) - (when css-electrick-keys + (when css-electric-keys (let ((fc (make-char-table 'auto-fill-chars))) (set-char-table-parent fc auto-fill-chars) - (dolist (c css-electrick-keys) + (dolist (c css-electric-keys) (aset fc c 'indent-according-to-mode)) (set (make-local-variable 'auto-fill-chars) fc)))) -- 2.39.2