From: Lars Ingebrigtsen Date: Thu, 7 Oct 2021 15:36:12 +0000 (+0200) Subject: Fix mh-e compilation warning X-Git-Tag: emacs-29.0.90~3671^2~621^2~28 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b1b2f490c54703648737b2b54a7ee500667fe127;p=emacs.git Fix mh-e compilation warning * lisp/mh-e/mh-comp.el (mh-compose-and-send-mail): Adjust doc string. * lisp/mh-e/mh-identity.el (mh-identity-make-menu): Don't call the obsolete `mh-identity-add-menu' function (that now does nothing). --- diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el index cbbfd76247e..1eacc505898 100644 --- a/lisp/mh-e/mh-comp.el +++ b/lisp/mh-e/mh-comp.el @@ -1077,7 +1077,6 @@ letter." ;; Insert identity. (mh-insert-identity mh-identity-default t) (mh-identity-make-menu) - (mh-identity-add-menu) ;; Cleanup possibly RFC2047 encoded subject header (mh-decode-message-subject) diff --git a/lisp/mh-e/mh-identity.el b/lisp/mh-e/mh-identity.el index 656dc658cc3..cd7f089dc14 100644 --- a/lisp/mh-e/mh-identity.el +++ b/lisp/mh-e/mh-identity.el @@ -54,8 +54,7 @@ This is normally set as part of an Identity in (defun mh-identity-make-menu () "Build the Identity menu. This should be called any time `mh-identity-list' or -`mh-auto-fields-list' change. -See `mh-identity-add-menu'." +`mh-auto-fields-list' change." (easy-menu-define mh-identity-menu mh-letter-mode-map "MH-E identity menu" (append