aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/nxml
diff options
context:
space:
mode:
authorStefan Monnier2008-01-16 16:17:53 +0000
committerStefan Monnier2008-01-16 16:17:53 +0000
commit7d7d1bb69d0d5d2d1df13947a66be1b17ee120bf (patch)
treed2ccbe30c0ab9bd6c5fe76d564ec9252274c8349 /lisp/nxml
parentc7972fb159dbe7ea591132e04b17f346f0eb71e1 (diff)
downloademacs-7d7d1bb69d0d5d2d1df13947a66be1b17ee120bf.tar.gz
emacs-7d7d1bb69d0d5d2d1df13947a66be1b17ee120bf.zip
(nxml-mode): Use mode-line-process to indicate the use of degraded mode.
(nxml-degrade): Don't change mode-name.
Diffstat (limited to 'lisp/nxml')
-rw-r--r--lisp/nxml/nxml-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el
index aa6ac078400..11fadedd531 100644
--- a/lisp/nxml/nxml-mode.el
+++ b/lisp/nxml/nxml-mode.el
@@ -510,6 +510,7 @@ Many aspects this mode can be customized using
510 (kill-all-local-variables) 510 (kill-all-local-variables)
511 (setq major-mode 'nxml-mode) 511 (setq major-mode 'nxml-mode)
512 (setq mode-name "nXML") 512 (setq mode-name "nXML")
513 (set (make-local-variable 'mode-line-process) '((nxml-degraded "/degraded")))
513 ;; We'll determine the fill prefix ourselves 514 ;; We'll determine the fill prefix ourselves
514 (make-local-variable 'adaptive-fill-mode) 515 (make-local-variable 'adaptive-fill-mode)
515 (setq adaptive-fill-mode nil) 516 (setq adaptive-fill-mode nil)
@@ -573,8 +574,7 @@ Many aspects this mode can be customized using
573 (nxml-with-unmodifying-text-property-changes 574 (nxml-with-unmodifying-text-property-changes
574 (nxml-clear-face (point-min) (point-max)) 575 (nxml-clear-face (point-min) (point-max))
575 (nxml-set-fontified (point-min) (point-max)) 576 (nxml-set-fontified (point-min) (point-max))
576 (nxml-clear-inside (point-min) (point-max))) 577 (nxml-clear-inside (point-min) (point-max))))))
577 (setq mode-name "nXML/degraded"))))
578 578
579;;; Change management 579;;; Change management
580 580