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

(mh-insert-fields): Handle nil values. Rmail, at least, will deliver

them to us.
parent e5d763d8
2006-01-29 Bill Wohler <wohler@newt.com>
* mh-comp.el (mh-insert-fields): Handle nil values. Rmail, at
least, will deliver them to us.
* mh-e.el (mh-after-commands-processed-hook)
(mh-before-commands-processed-hook): Specify what sort of requests
in docstring.
* mh-folder.el (mh-folder-mode): Use add-to-list to modify
minor-mode-alias.
* mh-letter.el (mh-letter-menu): Remove. Defvar no longer needed
to shush compiler.
(mh-letter-mode): Remove Mail menu.
2006-01-29 Bill Wohler <wohler@newt.com>
The Great Cleanup
......
......@@ -870,7 +870,8 @@ Do not insert any pairs whose value is the empty string."
(value (car (cdr name-values))))
(if (not (string-match "^.*:$" field-name))
(setq field-name (concat field-name ":")))
(cond ((equal value "")
(cond ((or (null value)
(equal value ""))
nil)
((mh-position-on-field field-name)
(insert " " (or value "")))
......
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