emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/nxml/nxml-mode.el,v


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/nxml/nxml-mode.el,v
Date: Wed, 16 Jan 2008 16:17:55 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        08/01/16 16:17:55

Index: nxml/nxml-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/nxml/nxml-mode.el,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- nxml/nxml-mode.el   12 Jan 2008 12:29:42 -0000      1.8
+++ nxml/nxml-mode.el   16 Jan 2008 16:17:52 -0000      1.9
@@ -510,6 +510,7 @@
   (kill-all-local-variables)
   (setq major-mode 'nxml-mode)
   (setq mode-name "nXML")
+  (set (make-local-variable 'mode-line-process) '((nxml-degraded "/degraded")))
   ;; We'll determine the fill prefix ourselves
   (make-local-variable 'adaptive-fill-mode)
   (setq adaptive-fill-mode nil)
@@ -573,8 +574,7 @@
       (nxml-with-unmodifying-text-property-changes
        (nxml-clear-face (point-min) (point-max))
        (nxml-set-fontified (point-min) (point-max))
-       (nxml-clear-inside (point-min) (point-max)))
-      (setq mode-name "nXML/degraded"))))
+       (nxml-clear-inside (point-min) (point-max))))))
 
 ;;; Change management
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]