Commit c7972fb1 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(rng-nxml-mode-init): Don't overwrite mode-line-process.

parent 23eabff6
2008-01-16 Stefan Monnier <>
* 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,8 +102,8 @@ 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."
(setq mode-line-process
'(rng-validate-mode (:eval (rng-compute-mode-line-string))))
(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)
(add-hook 'nxml-completion-hook 'rng-complete nil t)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment