diff options
Diffstat (limited to 'lisp/mh-e/mh-e.el')
| -rw-r--r-- | lisp/mh-e/mh-e.el | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el index 5b738933590..3b96575b3d4 100644 --- a/lisp/mh-e/mh-e.el +++ b/lisp/mh-e/mh-e.el | |||
| @@ -101,7 +101,13 @@ | |||
| 101 | 101 | ||
| 102 | (eval-and-compile | 102 | (eval-and-compile |
| 103 | (defvar mh-xemacs-flag (featurep 'xemacs) | 103 | (defvar mh-xemacs-flag (featurep 'xemacs) |
| 104 | "Non-nil means the current Emacs is XEmacs.")) | 104 | "Non-nil means the current Emacs is XEmacs.") |
| 105 | (defvar mh-compiling-flag nil | ||
| 106 | "Non-nil means we're compiling.")) | ||
| 107 | |||
| 108 | (eval-when (compile) | ||
| 109 | (setq mh-compiling-flag t)) | ||
| 110 | |||
| 105 | (mh-do-in-xemacs | 111 | (mh-do-in-xemacs |
| 106 | (require 'mh-xemacs)) | 112 | (require 'mh-xemacs)) |
| 107 | 113 | ||
| @@ -464,7 +470,8 @@ all the strings have been used." | |||
| 464 | (let ((arg-list (reverse args)) | 470 | (let ((arg-list (reverse args)) |
| 465 | (count 0)) | 471 | (count 0)) |
| 466 | (while (and (not (eobp)) (< count mh-index-max-cmdline-args)) | 472 | (while (and (not (eobp)) (< count mh-index-max-cmdline-args)) |
| 467 | (push (buffer-substring-no-properties (point) (line-end-position)) | 473 | (push (buffer-substring-no-properties (point) |
| 474 | (mh-line-end-position)) | ||
| 468 | arg-list) | 475 | arg-list) |
| 469 | (incf count) | 476 | (incf count) |
| 470 | (forward-line)) | 477 | (forward-line)) |
| @@ -2970,7 +2977,7 @@ entirely if the display does not support the number of specified | |||
| 2970 | colors." | 2977 | colors." |
| 2971 | (if mh-min-colors-defined-flag | 2978 | (if mh-min-colors-defined-flag |
| 2972 | spec | 2979 | spec |
| 2973 | (let ((cells (display-color-cells)) | 2980 | (let ((cells (mh-display-color-cells)) |
| 2974 | new-spec) | 2981 | new-spec) |
| 2975 | ;; Remove entries with min-colors, or delete them if we have fewer colors | 2982 | ;; Remove entries with min-colors, or delete them if we have fewer colors |
| 2976 | ;; than they specify. | 2983 | ;; than they specify. |