mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
(rng-nxml-mode-init): Don't overwrite mode-line-process.
This commit is contained in:
parent
23eabff6db
commit
c7972fb159
@ -1,5 +1,8 @@
|
||||
2008-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* nxml/rng-nxml.el (rng-nxml-mode-init):
|
||||
Don't overwrite mode-line-process.
|
||||
|
||||
* ibuffer.el (mode): Pass the buffer to format-mode-line.
|
||||
(ibuffer-update-mode-name): Remove.
|
||||
(ibuffer-redisplay, ibuffer-update, ibuffer-mode): Don't call it.
|
||||
|
@ -102,7 +102,7 @@ Validation will be enabled if `rng-nxml-auto-validate-flag' is non-nil."
|
||||
(easy-menu-define rng-nxml-menu nxml-mode-map
|
||||
"Menu for nxml-mode used with rng-validate-mode."
|
||||
rng-nxml-easy-menu)
|
||||
(setq mode-line-process
|
||||
(add-to-list 'mode-line-process
|
||||
'(rng-validate-mode (:eval (rng-compute-mode-line-string))))
|
||||
(cond (rng-nxml-auto-validate-flag
|
||||
(rng-validate-mode 1)
|
||||
|
Loading…
Reference in New Issue
Block a user