summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-11-15 19:38:10 +0000
committerUlrich Müller <ulm@gentoo.org>2008-11-15 19:38:10 +0000
commit34a501f6857669945b0eb20c86d375968529d173 (patch)
treeaf89cff16eb190a648e189ceea9c9cb997ad3d93 /app-emacs/bongo/files
parentppc stable, bug #246037 (diff)
downloadhistorical-34a501f6857669945b0eb20c86d375968529d173.tar.gz
historical-34a501f6857669945b0eb20c86d375968529d173.tar.bz2
historical-34a501f6857669945b0eb20c86d375968529d173.zip
Test if image-load-path exists in site-init file, fixes bug 246888.
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.26-gentoo-r1 i686
Diffstat (limited to 'app-emacs/bongo/files')
-rw-r--r--app-emacs/bongo/files/50bongo-gentoo.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-emacs/bongo/files/50bongo-gentoo.el b/app-emacs/bongo/files/50bongo-gentoo.el
index 34745b82d048..79718b7370b9 100644
--- a/app-emacs/bongo/files/50bongo-gentoo.el
+++ b/app-emacs/bongo/files/50bongo-gentoo.el
@@ -2,5 +2,6 @@
;;; bongo site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
-(add-to-list 'image-load-path "@SITEETC@" t)
+(if (boundp 'image-load-path)
+ (add-to-list 'image-load-path "@SITEETC@" t))
(autoload 'bongo "bongo" "Start Bongo by switching to a Bongo buffer." t)