Mercurial > emacs
diff lisp/mh-e/mh-e.el @ 90291:d6f8fe3307c8
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-11
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 34-42)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 14-17)
- Update from CVS
- Merge from emacs--devo--0
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sat, 04 Feb 2006 01:01:38 +0000 |
parents | 7432ca837c8d a2dd626ff268 |
children | c5406394f567 |
line wrap: on
line diff
--- a/lisp/mh-e/mh-e.el Fri Feb 03 07:38:00 2006 +0000 +++ b/lisp/mh-e/mh-e.el Sat Feb 04 01:01:38 2006 +0000 @@ -6,7 +6,7 @@ ;; Author: Bill Wohler <wohler@newt.com> ;; Maintainer: Bill Wohler <wohler@newt.com> -;; Version: 7.85+cvs +;; Version: 7.91+cvs ;; Keywords: mail ;; This file is part of GNU Emacs. @@ -101,7 +101,13 @@ (eval-and-compile (defvar mh-xemacs-flag (featurep 'xemacs) - "Non-nil means the current Emacs is XEmacs.")) + "Non-nil means the current Emacs is XEmacs.") + (defvar mh-compiling-flag nil + "Non-nil means we're compiling.")) + +(eval-when (compile) + (setq mh-compiling-flag t)) + (mh-do-in-xemacs (require 'mh-xemacs)) @@ -115,7 +121,7 @@ ;; Try to keep variables local to a single file. Provide accessors if ;; variables are shared. Use this section as a last resort. -(defconst mh-version "7.85+sans-entropy" "Version number of MH-E.") +(defconst mh-version "7.91+cvs" "Version number of MH-E.") ;; Variants @@ -464,7 +470,8 @@ (let ((arg-list (reverse args)) (count 0)) (while (and (not (eobp)) (< count mh-index-max-cmdline-args)) - (push (buffer-substring-no-properties (point) (line-end-position)) + (push (buffer-substring-no-properties (point) + (mh-line-end-position)) arg-list) (incf count) (forward-line)) @@ -2970,7 +2977,7 @@ colors." (if mh-min-colors-defined-flag spec - (let ((cells (display-color-cells)) + (let ((cells (mh-display-color-cells)) new-spec) ;; Remove entries with min-colors, or delete them if we have fewer colors ;; than they specify. @@ -3030,9 +3037,9 @@ (defface mh-folder-msg-number (mh-defface-compat - '((((class color) (min-colors 88) (background light)) + '((((class color) (min-colors 64) (background light)) (:foreground "snow4")) - (((class color) (min-colors 88) (background dark)) + (((class color) (min-colors 64) (background dark)) (:foreground "snow3")) (((class color)) (:foreground "cyan")))) @@ -3043,9 +3050,9 @@ (defface mh-folder-refiled (mh-defface-compat - '((((class color) (min-colors 88) (background light)) + '((((class color) (min-colors 64) (background light)) (:foreground "DarkGoldenrod")) - (((class color) (min-colors 88) (background dark)) + (((class color) (min-colors 64) (background dark)) (:foreground "LightGoldenrod")) (((class color)) (:foreground "yellow" :weight light)) @@ -3099,9 +3106,9 @@ (defface mh-folder-to (mh-defface-compat - '((((class color) (min-colors 88) (background light)) + '((((class color) (min-colors 64) (background light)) (:foreground "RosyBrown")) - (((class color) (min-colors 88) (background dark)) + (((class color) (min-colors 64) (background dark)) (:foreground "LightSalmon")) (((class color)) (:foreground "green")) @@ -3139,9 +3146,9 @@ (defface mh-show-cc (mh-defface-compat - '((((class color) (min-colors 88) (background light)) + '((((class color) (min-colors 64) (background light)) (:foreground "DarkGoldenrod")) - (((class color) (min-colors 88) (background dark)) + (((class color) (min-colors 64) (background dark)) (:foreground "LightGoldenrod")) (((class color)) (:foreground "yellow" :weight light)) @@ -3157,9 +3164,9 @@ (defface mh-show-date (mh-defface-compat - '((((class color) (min-colors 88) (background light)) + '((((class color) (min-colors 64) (background light)) (:foreground "ForestGreen")) - (((class color) (min-colors 88) (background dark)) + (((class color) (min-colors 64) (background dark)) (:foreground "PaleGreen")) (((class color)) (:foreground "green")) @@ -3186,9 +3193,9 @@ (defface mh-show-header (mh-defface-compat - '((((class color) (min-colors 88) (background light)) + '((((class color) (min-colors 64) (background light)) (:foreground "RosyBrown")) - (((class color) (min-colors 88) (background dark)) + (((class color) (min-colors 64) (background dark)) (:foreground "LightSalmon")) (((class color)) (:foreground "green"))