comparison lisp/mh-e/mh-letter.el @ 69273:b52e0cc8af61

* mh-folder.el (mh-folder-mode): Rename mh-image-load-path to mh-image-load-path-for-library. * mh-letter.el (mh-letter-mode): Rename mh-image-load-path to mh-image-load-path-for-library. * mh-utils.el (mh-image-load-path): Rename to mh-image-load-path-for-library. Add example to docstring. Rename local variable mh-image-directory to image-directory. Move error checks to default case in cond and simplify.
author Bill Wohler <wohler@newt.com>
date Fri, 03 Mar 2006 20:50:50 +0000
parents f3bbf5f32462
children 0b84cb235f62
comparison
equal deleted inserted replaced
69272:cc66ebd3f3a4 69273:b52e0cc8af61
311 (make-local-variable 'mh-previous-window-config) 311 (make-local-variable 'mh-previous-window-config)
312 (make-local-variable 'mh-sent-from-folder) 312 (make-local-variable 'mh-sent-from-folder)
313 (make-local-variable 'mh-sent-from-msg) 313 (make-local-variable 'mh-sent-from-msg)
314 (mh-do-in-gnu-emacs 314 (mh-do-in-gnu-emacs
315 (unless mh-letter-buttons-init-flag 315 (unless mh-letter-buttons-init-flag
316 (let ((load-path 316 (let ((load-path (mh-image-load-path-for-library
317 (mh-image-load-path "mh-e" "mh-logo.xpm" 'load-path)) 317 "mh-e" "mh-logo.xpm" 'load-path))
318 (image-load-path 318 (image-load-path (mh-image-load-path-for-library
319 (mh-image-load-path "mh-e" "mh-logo.xpm" 'image-load-path))) 319 "mh-e" "mh-logo.xpm" 'image-load-path)))
320 (mh-tool-bar-letter-buttons-init) 320 (mh-tool-bar-letter-buttons-init)
321 (setq mh-letter-buttons-init-flag t))) 321 (setq mh-letter-buttons-init-flag t)))
322 (set (make-local-variable 'tool-bar-map) mh-letter-tool-bar-map)) 322 (set (make-local-variable 'tool-bar-map) mh-letter-tool-bar-map))
323 (mh-do-in-xemacs 323 (mh-do-in-xemacs
324 (mh-tool-bar-init :letter)) 324 (mh-tool-bar-init :letter))