diff options
author | Glenn Morris <rgm@gnu.org> | 2008-06-11 03:12:15 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-06-11 03:12:15 +0000 |
commit | 1e957e643e776714db0a3ae754d22558a6412ead (patch) | |
tree | f93f32716c4f20e2561f5a673dae79710ce99932 | |
parent | f654fa04f0332c8c3d7d65a6e4a5012bb05be535 (diff) | |
download | emacs-1e957e643e776714db0a3ae754d22558a6412ead.tar.gz |
(gnus-x-splash): Check tool-bar-mode is bound.
Remove unnecessary eval-and-compile of autoloads.
-rw-r--r-- | lisp/gnus/gnus-ems.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/gnus/gnus-ems.el b/lisp/gnus/gnus-ems.el index ef557c7627a..97e209c18c0 100644 --- a/lisp/gnus/gnus-ems.el +++ b/lisp/gnus/gnus-ems.el @@ -42,10 +42,10 @@ (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 () @@ -214,7 +214,8 @@ (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))) |