emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lispref/display.texi


From: Bill Wohler
Subject: [Emacs-diffs] Changes to emacs/lispref/display.texi
Date: Wed, 15 Mar 2006 17:08:39 +0000

Index: emacs/lispref/display.texi
diff -u emacs/lispref/display.texi:1.208 emacs/lispref/display.texi:1.209
--- emacs/lispref/display.texi:1.208    Tue Mar 14 19:35:08 2006
+++ emacs/lispref/display.texi  Wed Mar 15 17:08:39 2006
@@ -4148,11 +4148,13 @@
 with versions of Emacs that lack the variable @code{image-load-path}:
 
 @example
-;; Avoid errors on Emacsen without `image-load-path'.
-(if (not (boundp 'image-load-path)) (defvar image-load-path nil))
+;; Shush compiler.
+(defvar image-load-path)
 
 (let* ((load-path (image-load-path-for-library "mh-e" "mh-logo.xpm"))
-       (image-load-path (cons (car load-path) image-load-path)))
+       (image-load-path (cons (car load-path)
+                              (when (boundp 'image-load-path)
+                                image-load-path))))
   (mh-tool-bar-folder-buttons-init))
 @end example
 @end defun




reply via email to

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