Mercurial > emacs
changeset 95818:b8775d45a9ea
(gnus-x-splash): Check tool-bar-mode is bound.
Remove unnecessary eval-and-compile of autoloads.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 11 Jun 2008 03:12:15 +0000 |
parents | 87e3e5040941 |
children | 1d746ab5327f |
files | lisp/gnus/gnus-ems.el |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/gnus/gnus-ems.el Wed Jun 11 03:11:57 2008 +0000 +++ b/lisp/gnus/gnus-ems.el Wed Jun 11 03:12:15 2008 +0000 @@ -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)))