From: Basil L. Contovounesios Date: Sat, 8 Aug 2020 22:53:14 +0000 (+0100) Subject: ; Fix typos in recent message.el changes X-Git-Tag: emacs-28.0.90~6740 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=444e404325e5ea7f3caf93d348fd283f6246ad24;p=emacs.git ; Fix typos in recent message.el changes * doc/misc/message.texi (OpenPGP Header): * etc/NEWS: * lisp/gnus/message.el (message-add-openpgp-header): Fix spelling of function name. --- diff --git a/doc/misc/message.texi b/doc/misc/message.texi index 687ee1f9702..204a6386e01 100644 --- a/doc/misc/message.texi +++ b/doc/misc/message.texi @@ -1265,7 +1265,7 @@ for a long time. For more details, see To use this in Message, say: @lisp -(add-hook 'message-send-hook 'messasge-add-openpgp-header) +(add-hook 'message-send-hook 'message-add-openpgp-header) @end lisp @noindent diff --git a/etc/NEWS b/etc/NEWS index 269b07610a5..71c037631af 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -249,7 +249,7 @@ not. +++ *** Message now supports the OpenPGP header. To generate these headers, add the new function -'messasge-add-openpgp-header' to 'message-send-hook'. The header will +'message-add-openpgp-header' to 'message-send-hook'. The header will be generated according to the new 'message-openpgp-header' variable. --- diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index d8fef67de20..0aca31ac88a 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -2763,7 +2763,7 @@ will not be inserted." (const "signencrypt" :tag "Sign and Encrypt")))) :version "28.1") -(defun messasge-add-openpgp-header () +(defun message-add-openpgp-header () "Add OpenPGP header to point to public key. Header will be constructed as specified in `message-openpgp-header'.