diff options
author | Sam Steingold <sds@gnu.org> | 2001-10-26 20:55:36 +0000 |
---|---|---|
committer | Sam Steingold <sds@gnu.org> | 2001-10-26 20:55:36 +0000 |
commit | e5d1dee9111cd8088bfbff62c831e3345d14c99b (patch) | |
tree | c8439dd53fe9aff3c5d5dd1b079af64e510e5af2 /lisp/textmodes | |
parent | 58203d918e68faba80433f12c86a36642dad9a42 (diff) | |
download | emacs-e5d1dee9111cd8088bfbff62c831e3345d14c99b.tar.gz |
(html-mode); set `mode-name' based on `html-xhtml'
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/sgml-mode.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 8822bdb132f..e864327a13f 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el @@ -1283,6 +1283,8 @@ To work around that, do: nil t) (set (make-local-variable 'html-xhtml) (string= "X" (match-string 1)))))) + (when html-xhtml + (setq mode-name "XHTML")) ;; It's for the user to decide if it defeats it or not -stef ;; (make-local-variable 'imenu-sort-function) ;; (setq imenu-sort-function nil) ; sorting the menu defeats the purpose |