help-gnu-emacs
[Top][All Lists]
Advanced

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

Disabling nxml-mode


From: Peter Flynn
Subject: Disabling nxml-mode
Date: Tue, 24 May 2011 20:02:03 -0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10

I just upgraded a machine to Ubuntu Natty, which installed Emacs 23.2,
which appears to open XML files in nxml-mode by default. My .emacs file says

(autoload 'xml-mode "psgml" "Major mode to edit XML files." t )
(setq auto-mode-alist (cons 
'("\\.[XxRrMmDdTt][TtMmDdSsNnEe][PpAaMmLlFfSsIi]?[EePp]*[Cc]*$" . xml-mode) 
auto-mode-alist))

which has been working fine for years. It looks as if Emacs 23.2 defines
xml-mode to point to nxml-mode, and this is somehow superseding my .emacs.

Unfortunately I still need to use psgml's xml-mode for all my XML stuff.
Does anyone know how I disable Emacs' new behaviour?

///Peter


reply via email to

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