]> git.eshelyaron.com Git - emacs.git/commitdiff
(byte-compile-log-file): Check major-mode via derived-mode-p.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Sep 2007 15:04:09 +0000 (15:04 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Sep 2007 15:04:09 +0000 (15:04 +0000)
lisp/ChangeLog
lisp/emacs-lisp/bytecomp.el

index cf74fc34f064ec49140f739d74be27e2a0c4bd81..5206d124625083165a389f855d2637892db7faf6 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/bytecomp.el (byte-compile-log-file): Check major-mode via
+       derived-mode-p.
+
 2007-09-07  Thien-Thi Nguyen  <ttn@gnuvola.org>
 
        * progmodes/autoconf.el (autoconf-definition-regexp):
@@ -10,8 +15,8 @@
        (browse-url-encode-url, browse-url-elinks)
        (browse-url-elinks-sentinel): New functions.
        (browse-url-file-url, browse-url-netscape, browse-url-mozilla)
-       (browse-url-firefox, browse-url-galeon, browse-url-epiphany): Use
-       new function browse-url-encode-url.
+       (browse-url-firefox, browse-url-galeon, browse-url-epiphany):
+       Use new function browse-url-encode-url.
 
 2007-09-07  Glenn Morris  <rgm@gnu.org>
 
index e9846d5875f91aea675f390e226d74bac726bc78..2c14bb666097f4b5988afa137e9a1bf6910028b2 100644 (file)
@@ -1037,8 +1037,7 @@ Each function's symbol gets added to `byte-compile-noruntime-functions'."
           (setq byte-compile-last-logged-file byte-compile-current-file
                 byte-compile-last-warned-form nil)
           ;; Do this after setting default-directory.
-          (unless (eq major-mode 'compilation-mode)
-            (compilation-mode))
+          (unless (derived-mode-p 'compilation-mode) (compilation-mode))
           (compilation-forget-errors)
           pt))))