diff options
| author | Glenn Morris | 2014-05-21 16:07:27 -0400 |
|---|---|---|
| committer | Glenn Morris | 2014-05-21 16:07:27 -0400 |
| commit | fb4ca8417a1fc7a39d36162a80647063aadb0b41 (patch) | |
| tree | 2c5af8bcede87e512dfa81380a94d5c59e571c8e | |
| parent | 13a83f0501d080de5ae775b770925d535eb3ac83 (diff) | |
| download | emacs-fb4ca8417a1fc7a39d36162a80647063aadb0b41.tar.gz emacs-fb4ca8417a1fc7a39d36162a80647063aadb0b41.zip | |
* lisp/nxml/nxml-mode.el (xml-mode): Only define this alias once.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/nxml/nxml-mode.el | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index df22726d882..a06cc0c1209 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-05-21 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * nxml/nxml-mode.el (xml-mode): Only define this alias once. | ||
| 4 | |||
| 1 | 2014-05-21 Eli Zaretskii <eliz@gnu.org> | 5 | 2014-05-21 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * frame.el (set-frame-font): Doc fix. | 7 | * frame.el (set-frame-font): Doc fix. |
diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el index cd50bce2152..b3ce7aaac25 100644 --- a/lisp/nxml/nxml-mode.el +++ b/lisp/nxml/nxml-mode.el | |||
| @@ -2630,8 +2630,9 @@ With a prefix argument, inserts the character directly." | |||
| 2630 | (put 'entity-ref 'nxml-friendly-name "entity reference") | 2630 | (put 'entity-ref 'nxml-friendly-name "entity reference") |
| 2631 | (put 'char-ref 'nxml-friendly-name "character reference") | 2631 | (put 'char-ref 'nxml-friendly-name "character reference") |
| 2632 | 2632 | ||
| 2633 | ;;;###autoload | 2633 | ;; Only do this in loaddefs, so that if someone defines a different |
| 2634 | (defalias 'xml-mode 'nxml-mode) | 2634 | ;; alias in .emacs, loading this file afterwards does not clobber it. |
| 2635 | ;;;###autoload(defalias 'xml-mode 'nxml-mode) | ||
| 2635 | 2636 | ||
| 2636 | (provide 'nxml-mode) | 2637 | (provide 'nxml-mode) |
| 2637 | 2638 | ||