1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-31 20:02:42 +00:00

Use derived-mode-p in previous change

This commit is contained in:
Glenn Morris 2013-02-21 21:33:42 -05:00
parent 5c11fc55ce
commit 2c7d200767

View File

@ -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)))