# HG changeset patch # User Stefan Monnier # Date 1190080103 0 # Node ID 6ba709e4adda553c1458b63322d730af701de653 # Parent c33d8980019ccc5d59b26400e3febe81179fcc1b (css-electric-keys): electrick->electric. (css-mode): Update correspondingly. diff -r c33d8980019c -r 6ba709e4adda lisp/ChangeLog --- a/lisp/ChangeLog Tue Sep 18 01:45:39 2007 +0000 +++ b/lisp/ChangeLog Tue Sep 18 01:48:23 2007 +0000 @@ -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 -r c33d8980019c -r 6ba709e4adda lisp/textmodes/css-mode.el --- a/lisp/textmodes/css-mode.el Tue Sep 18 01:45:39 2007 +0000 +++ b/lisp/textmodes/css-mode.el Tue Sep 18 01:48:23 2007 +0000 @@ -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))))