* lisp/nxml/nxml-mode.el (xml-mode): Only define this alias once.

This commit is contained in:
Glenn Morris 2014-05-21 16:07:27 -04:00
parent 13a83f0501
commit fb4ca8417a
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2014-05-21 Glenn Morris <rgm@gnu.org>
* nxml/nxml-mode.el (xml-mode): Only define this alias once.
2014-05-21 Eli Zaretskii <eliz@gnu.org>
* frame.el (set-frame-font): Doc fix.

View file

@ -2630,8 +2630,9 @@ With a prefix argument, inserts the character directly."
(put 'entity-ref 'nxml-friendly-name "entity reference")
(put 'char-ref 'nxml-friendly-name "character reference")
;;;###autoload
(defalias 'xml-mode 'nxml-mode)
;; Only do this in loaddefs, so that if someone defines a different
;; alias in .emacs, loading this file afterwards does not clobber it.
;;;###autoload(defalias 'xml-mode 'nxml-mode)
(provide 'nxml-mode)