Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
66112:9bb08ad57594 | 66113:bfb1c3364c23 |
---|---|
1559 MH-Folder buffer, then the MH-E command will perform the operation on all | 1559 MH-Folder buffer, then the MH-E command will perform the operation on all |
1560 messages in that region. | 1560 messages in that region. |
1561 | 1561 |
1562 \\{mh-folder-mode-map}" | 1562 \\{mh-folder-mode-map}" |
1563 | 1563 |
1564 (mh-image-load-path) | |
1564 (make-local-variable 'font-lock-defaults) | 1565 (make-local-variable 'font-lock-defaults) |
1565 (setq font-lock-defaults '(mh-folder-font-lock-keywords t)) | 1566 (setq font-lock-defaults '(mh-folder-font-lock-keywords t)) |
1566 (make-local-variable 'desktop-save-buffer) | 1567 (make-local-variable 'desktop-save-buffer) |
1567 (setq desktop-save-buffer t) | 1568 (setq desktop-save-buffer t) |
1568 (mh-make-local-vars | 1569 (mh-make-local-vars |