mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-11 09:20:51 +00:00
(css-electric-keys): electrick->electric.
(css-mode): Update correspondingly.
This commit is contained in:
parent
088c8c37e6
commit
fb7d927563
@ -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>
|
||||
|
||||
|
@ -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))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user