diff lisp/mh-e/mh-e.el @ 66113:bfb1c3364c23

* mh-init.el (mh-image-load-path-called-flag): New variable which is used by mh-image-load-path so that it runs only once. (mh-image-load-path): Modified so that it gets run only once. Also flatten out heavily nested if statements to make it clearer. * mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs to find images used in the toolbar. * mh-customize.el (:folder): Remove call to mh-image-load-path.
author Satyaki Das <satyaki@theforce.stanford.edu>
date Sun, 16 Oct 2005 03:24:54 +0000
parents 579cd0b50a4b
children 131366a2e19b 0ca0d9181b5e
line wrap: on
line diff
--- a/lisp/mh-e/mh-e.el	Sun Oct 16 02:23:23 2005 +0000
+++ b/lisp/mh-e/mh-e.el	Sun Oct 16 03:24:54 2005 +0000
@@ -1561,6 +1561,7 @@
 
 \\{mh-folder-mode-map}"
 
+  (mh-image-load-path)
   (make-local-variable 'font-lock-defaults)
   (setq font-lock-defaults '(mh-folder-font-lock-keywords t))
   (make-local-variable 'desktop-save-buffer)