]> git.eshelyaron.com Git - emacs.git/commitdiff
; Improve documentation of 'rmail-movemail-program'
authorEli Zaretskii <eliz@gnu.org>
Sat, 1 Mar 2025 13:45:57 +0000 (15:45 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Mar 2025 20:57:18 +0000 (21:57 +0100)
* lisp/mail/rmail.el (rmail-movemail-program):
* doc/emacs/rmail.texi (Movemail): Document how to change the
value of 'rmail-movemail-program' safely.  (Bug#76595)

(cherry picked from commit 44a770b87137c93f0c4af4d203bb071659a603a0)

doc/emacs/rmail.texi
lisp/mail/rmail.el

index 7a2ef9be16eb88997b06dd64911a77d124c21864..08add98b733bcf0387a85de0c16b1510532ed4cd 100644 (file)
@@ -1535,7 +1535,10 @@ This is equivalent to specifying the @samp{file} protocol:
 absolute file name of the @command{movemail} executable.  If it is
 @code{nil}, Rmail searches for @command{movemail} in the directories
 listed in @code{rmail-movemail-search-path}, then in @code{exec-path}
-(@pxref{Shell}), then in @code{exec-directory}.
+(@pxref{Shell}), then in @code{exec-directory}.  This variable should be
+customized before starting Rmail; if you customize it after starting
+Rmail, you will need to set @code{rmail-movemail-variant-in-use} to the
+@code{nil} value, and then restart Rmail.
 
 @node Remote Mailboxes
 @section Retrieving Mail from Remote Mailboxes
index 0d657aea8a1503c922b68a8daf9461539d3bdfb6..41b0813707f982293a6c08c389311ba020b0a9af 100644 (file)
@@ -176,7 +176,10 @@ Its name should end with a slash."
   :group 'rmail)
 
 (defcustom rmail-movemail-program nil
-  "If non-nil, the file name of the `movemail' program."
+  "If non-nil, the file name of the `movemail' program.
+If you customize this after starting Rmail, reset the
+variable `rmail-movemail-variant-in-use' to the nil value,
+and then restart Rmail."
   :group 'rmail-retrieve
   :type '(choice (const nil) string))