Commit bc4c8031 authored by Bill Wohler's avatar Bill Wohler
Browse files

(mh-variant, mh-default-folder-for-message-function): Sync docstring

with manual.
(cus-face): Require as it is needed by mh-inherit-face-flag.
parent ba0226dd
2006-02-27 Bill Wohler <wohler@newt.com> 2006-02-27 Bill Wohler <wohler@newt.com>
* mh-e.el (mh-default-folder-for-message-function): Sync docstring
with manual.
* mh-mime.el (mh-minibuffer-read-type): Deleted comment in * mh-mime.el (mh-minibuffer-read-type): Deleted comment in
docstring about obsolete variable mh-mime-content-types. docstring about obsolete variable mh-mime-content-types.
......
...@@ -864,14 +864,18 @@ The default setting of this option is \"Auto-detect\" which means ...@@ -864,14 +864,18 @@ The default setting of this option is \"Auto-detect\" which means
that MH-E will automatically choose the first of nmh, MH, or GNU that MH-E will automatically choose the first of nmh, MH, or GNU
mailutils that it finds in the directories listed in mailutils that it finds in the directories listed in
`mh-path' (which you can customize), `mh-sys-path', and `mh-path' (which you can customize), `mh-sys-path', and
`exec-path'. If, for example, you have both nmh and mailutils `exec-path'. If MH-E can't find MH at all, you may have to
installed and `mh-variant-in-use' was initialized to nmh but you customize `mh-path' and add the directory in which the command
want to use mailutils, then you can set this option to \"mhparam\" is located. If, on the other hand, you have both nmh
\"mailutils\". and mailutils installed (for example) and `mh-variant-in-use' was
initialized to nmh but you want to use mailutils, then you can
set this option to \"mailutils\".
When this variable is changed, MH-E resets `mh-progs', `mh-lib', When this variable is changed, MH-E resets `mh-progs', `mh-lib',
`mh-lib-progs', `mh-flists-present-flag', and `mh-variant-in-use' `mh-lib-progs', `mh-flists-present-flag', and `mh-variant-in-use'
accordingly." accordingly. Prior to version 8, it was often necessary to set
some of these variables in \"~/.emacs\"; now it is no longer
necessary and can actually cause problems."
:type `(radio :type `(radio
(const :tag "Auto-detect" autodetect) (const :tag "Auto-detect" autodetect)
,@(mapcar (lambda (x) `(const ,(car x))) (mh-variants))) ,@(mapcar (lambda (x) `(const ,(car x))) (mh-variants)))
...@@ -1236,11 +1240,11 @@ an alternate view. For example, \"'(\"-nolimit\" \"-textfield\" ...@@ -1236,11 +1240,11 @@ an alternate view. For example, \"'(\"-nolimit\" \"-textfield\"
(defcustom mh-default-folder-for-message-function nil (defcustom mh-default-folder-for-message-function nil
"Function to select a default folder for refiling or \"Fcc:\". "Function to select a default folder for refiling or \"Fcc:\".
The current buffer is set to the message being refiled with point When this function is called, the current buffer contains the message
at the start of the message. This function should return the being refiled and point is at the start of the message. This function
default folder as a string with a leading \"+\" sign. It can also should return the default folder as a string with a leading \"+\"
return nil so that the last folder name is used as the default, sign. It can also return nil so that the last folder name is used as
or an empty string to suppress the default entirely." the default, or an empty string to suppress the default entirely."
:type 'function :type 'function
:group 'mh-folder-selection) :group 'mh-folder-selection)
...@@ -2989,6 +2993,8 @@ colors." ...@@ -2989,6 +2993,8 @@ colors."
(setq new-spec (cons entry new-spec))))) (setq new-spec (cons entry new-spec)))))
new-spec))) new-spec)))
(require 'cus-face)
(defvar mh-inherit-face-flag (assq :inherit custom-face-attributes) (defvar mh-inherit-face-flag (assq :inherit custom-face-attributes)
"Non-nil means that the `defface' :inherit keyword is available. "Non-nil means that the `defface' :inherit keyword is available.
The :inherit keyword is available on all supported versions of The :inherit keyword is available on all supported versions of
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment