emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111855: Use derived-mode-p in previo


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111855: Use derived-mode-p in previous change
Date: Thu, 21 Feb 2013 21:33:42 -0500
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111855
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2013-02-21 21:33:42 -0500
message:
  Use derived-mode-p in previous change
modified:
  lisp/textmodes/sgml-mode.el
=== modified file 'lisp/textmodes/sgml-mode.el'
--- a/lisp/textmodes/sgml-mode.el       2013-02-22 02:01:32 +0000
+++ b/lisp/textmodes/sgml-mode.el       2013-02-22 02:33:42 +0000
@@ -62,7 +62,7 @@
          (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)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]