Mercurial > emacs
changeset 78825:6ba709e4adda
(css-electric-keys): electrick->electric.
(css-mode): Update correspondingly.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 18 Sep 2007 01:48:23 +0000 |
parents | c33d8980019c |
children | 71d0d6ce29a3 |
files | lisp/ChangeLog lisp/textmodes/css-mode.el |
diffstat | 2 files changed, 9 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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 <monnier@iro.umontreal.ca> + + * textmodes/css-mode.el (css-electric-keys): electrick->electric. + (css-mode): Update correspondingly. + 2007-09-18 Stefan Monnier <monnier@iro.umontreal.ca> * 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 <dann@ics.uci.edu>
--- 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))))