]> git.eshelyaron.com Git - emacs.git/commitdiff
(gnus-x-splash): Check tool-bar-mode is bound.
authorGlenn Morris <rgm@gnu.org>
Wed, 11 Jun 2008 03:12:15 +0000 (03:12 +0000)
committerGlenn Morris <rgm@gnu.org>
Wed, 11 Jun 2008 03:12:15 +0000 (03:12 +0000)
Remove unnecessary eval-and-compile of autoloads.

lisp/gnus/gnus-ems.el

index ef557c7627aab6841a3d416b094100382864e40f..97e209c18c0a2eec44e7e206051434a8a42fb4fa 100644 (file)
 
 (eval-and-compile
   (autoload 'gnus-xmas-define "gnus-xmas")
-  (autoload 'gnus-xmas-redefine "gnus-xmas")
-  (autoload 'gnus-get-buffer-create "gnus")
-  (autoload 'nnheader-find-etc-directory "nnheader"))
+  (autoload 'gnus-xmas-redefine "gnus-xmas"))
 
+(autoload 'gnus-get-buffer-create "gnus")
+(autoload 'nnheader-find-etc-directory "nnheader")
 (autoload 'smiley-region "smiley")
 
 (defun gnus-kill-all-overlays ()
                    (car sbars)
                    (/ (or (car fringes) 0) fcw))
            yoffset (cadr (window-edges))
-           top (max 0 (- (* (max (if (and tool-bar-mode
+           top (max 0 (- (* (max (if (and (boundp 'tool-bar-mode)
+                                          tool-bar-mode
                                           (not (featurep 'gtk))
                                           (eq (frame-first-window)
                                               (selected-window)))