summaryrefslogtreecommitdiff
path: root/lisp/mh-e/mh-e.el
diff options
context:
space:
mode:
authorBill Wohler <wohler@newt.com>2006-03-14 19:21:48 +0000
committerBill Wohler <wohler@newt.com>2006-03-14 19:21:48 +0000
commit44e3f44013ee5d526d2666e2ec8ed4962f9a6c77 (patch)
tree159a8f63cdce362b039861c2e196fe0749ab38b4 /lisp/mh-e/mh-e.el
parent5248a565cad8ca4a489fb8e8cd1bd21a2cf8f006 (diff)
downloademacs-44e3f44013ee5d526d2666e2ec8ed4962f9a6c77.tar.gz
* mh-compat.el (mh-image-load-path-for-library): Incorporate changes
from image-load-path-for-library, which are: (image-load-path-for-library): Pass value of path rather than symbol. Always return list of directories. Guarantee that image directory comes first. * mh-e.el (image-load-path): Define on those Emacsen that lack it to avoid compile and run-time errors. * mh-folder.el (mh-folder-mode): Use new idiom for setting image-load-path. * mh-letter.el (mh-letter-mode): Ditto. * mh-utils.el (mh-logo-display): Ditto.
Diffstat (limited to 'lisp/mh-e/mh-e.el')
-rw-r--r--lisp/mh-e/mh-e.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el
index 0b8961470a7..2f29a678f13 100644
--- a/lisp/mh-e/mh-e.el
+++ b/lisp/mh-e/mh-e.el
@@ -325,6 +325,9 @@ Name of the Previous sequence.")
;; Etc. (alphabetical)
+;; Avoid errors on Emacsen without image-load-path.
+(if (not (boundp 'image-load-path)) (defvar image-load-path nil))
+
(defvar mh-flists-present-flag nil
"Non-nil means that we have \"flists\".")