;;; @ version
;;;
-(defconst emh-version "1.14.0")
+(defconst emh-version "1.14.1")
;;; @ variable
:group 'emh
:type 'boolean)
+(defcustom emh-icon-directory (if (fboundp 'locate-data-directory)
+ (locate-data-directory "emh")
+ (let ((icons (expand-file-name
+ "emh/icons/"
+ data-directory)))
+ (if (file-directory-p icons)
+ icons)))
+ "*Directory to load the icon files from, or nil if none."
+ :group 'emh
+ :type '(choice (const :tag "none" nil)
+ string))
;;; @ functions
;;;
(defun emh-request-partial-message ()
(let ((msg-filename (mh-msg-filename (mh-get-msg-num t)))
- (show-buffer mh-show-buffer))
+ (show-buffer mh-show-buffer)
+ (coding-system-for-read 'raw-text))
(set-buffer (get-buffer-create " *Partial Article*"))
(erase-buffer)
(setq mime-preview-buffer show-buffer)
- (raw-text-insert-file-contents msg-filename)
+ (insert-file-contents msg-filename)
(mime-parse-buffer)
))
(eval-after-load "bbdb" '(require 'mime-bbdb))
+;;; @ Toolbar
+
+(if (and (not (featurep 'xemacs))
+ (boundp 'emacs-major-version)
+ (>= emacs-major-version 21))
+ (require 'emh-e21))
;;; @ end
;;;