HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c11fc5
)
Use derived-mode-p in previous change
author
Glenn Morris
<rgm@gnu.org>
Fri, 22 Feb 2013 02:33:42 +0000
(21:33 -0500)
committer
Glenn Morris
<rgm@gnu.org>
Fri, 22 Feb 2013 02:33:42 +0000
(21:33 -0500)
lisp/textmodes/sgml-mode.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/textmodes/sgml-mode.el
b/lisp/textmodes/sgml-mode.el
index
a56a924
..
fb0dc84
100644
(file)
--- a/
lisp/textmodes/sgml-mode.el
+++ b/
lisp/textmodes/sgml-mode.el
@@
-62,7
+62,7
@@
a DOCTYPE or an XML declaration."
(set-default sym val)
(mapc (lambda (buff)
(with-current-buffer buff
- (and (
eq major-mode
'sgml-mode)
+ (and (
derived-mode-p
'sgml-mode)
(not sgml-xml-mode)
(setq skeleton-transformation-function val))))
(buffer-list)))