aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wohler2006-03-10 16:56:16 +0000
committerBill Wohler2006-03-10 16:56:16 +0000
commit0c32f8c691129965c0d67c2f1cef9cd75e9544bf (patch)
treee3b8e535c469b8e677a493c28e0d41090830c302
parent8775bef73be6f975fde0fc4099804f9bf72892b8 (diff)
downloademacs-0c32f8c691129965c0d67c2f1cef9cd75e9544bf.tar.gz
emacs-0c32f8c691129965c0d67c2f1cef9cd75e9544bf.zip
(mh-profile-component): Drop `s' from mhparam -components for
Mailutils compatibility (closes SF #1446985).
-rw-r--r--lisp/mh-e/ChangeLog5
-rw-r--r--lisp/mh-e/mh-e.el4
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 0a097cb2f02..35a1b1495f1 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,8 @@
12006-03-10 Bill Wohler <wohler@newt.com>
2
3 * mh-e.el (mh-profile-component): Drop `s' from mhparam
4 -components for Mailutils compatibility (closes SF #1446985).
5
12006-03-06 Bill Wohler <wohler@newt.com> 62006-03-06 Bill Wohler <wohler@newt.com>
2 7
3 * mh-e.el (Version, mh-version): Add +cvs to version. 8 * mh-e.el (Version, mh-version): Add +cvs to version.
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el
index 64b625f3ab6..0b8961470a7 100644
--- a/lisp/mh-e/mh-e.el
+++ b/lisp/mh-e/mh-e.el
@@ -808,7 +808,9 @@ Currently known variants are 'MH, 'nmh, and 'mu-mh."
808(defun mh-profile-component (component) 808(defun mh-profile-component (component)
809 "Return COMPONENT value from mhparam, or nil if unset." 809 "Return COMPONENT value from mhparam, or nil if unset."
810 (save-excursion 810 (save-excursion
811 (mh-exec-cmd-quiet nil "mhparam" "-components" component) 811 ;; MH and nmh use -components, Mailutils uses -component. Since MH
812 ;; and nmh work with an unambiguous prefix, the `s' is dropped here.
813 (mh-exec-cmd-quiet nil "mhparam" "-component" component)
812 (mh-profile-component-value component))) 814 (mh-profile-component-value component)))
813 815
814(defun mh-profile-component-value (component) 816(defun mh-profile-component-value (component)