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:
parent
5c11fc55ce
commit
2c7d200767
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user