diff options
| author | Glenn Morris | 2007-08-22 03:37:21 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-08-22 03:37:21 +0000 |
| commit | 11bdb42c267a5eba63edabba9f82fa2a76481002 (patch) | |
| tree | 9ea950c0018276dce4c617df0673652a5dd7cdec /lisp | |
| parent | b8fa755be09571940e184ecb5dc0e44107dcf6bc (diff) | |
| download | emacs-11bdb42c267a5eba63edabba9f82fa2a76481002.tar.gz emacs-11bdb42c267a5eba63edabba9f82fa2a76481002.zip | |
(rmail-movemail-variant-p): Call on load to set movemail related variables.
(rmail-insert-inbox-text): Use only rmail-movemail-program, which
will now be set before this is called.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 11 |
2 files changed, 14 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 274533830df..d338b717bb9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2007-08-22 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * mail/rmail.el (rmail-movemail-variant-p): Call on load to set | ||
| 4 | movemail related variables. | ||
| 5 | (rmail-insert-inbox-text): Use only rmail-movemail-program, which | ||
| 6 | will now be set before this is called. | ||
| 7 | |||
| 1 | 2007-08-21 Juri Linkov <juri@jurta.org> | 8 | 2007-08-21 Juri Linkov <juri@jurta.org> |
| 2 | 9 | ||
| 3 | * delsel.el (delete-selection-pre-hook): | 10 | * delsel.el (delete-selection-pre-hook): |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 429d85a7fed..0589824d958 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -239,6 +239,12 @@ Currently known variants are 'emacs and 'mailutils." | |||
| 239 | (setq rmail-movemail-variant-in-use (rmail-autodetect))) | 239 | (setq rmail-movemail-variant-in-use (rmail-autodetect))) |
| 240 | (not (null (member rmail-movemail-variant-in-use variants)))) | 240 | (not (null (member rmail-movemail-variant-in-use variants)))) |
| 241 | 241 | ||
| 242 | ;; Call for effect, to set rmail-movemail-program (if not set by the | ||
| 243 | ;; user), and rmail-movemail-variant-in-use. Used by various functions. | ||
| 244 | ;; I'm not sure if M-x rmail is the only entry point to this package. | ||
| 245 | ;; If so, this can be moved there. | ||
| 246 | (rmail-movemail-variant-p) | ||
| 247 | |||
| 242 | ;;;###autoload | 248 | ;;;###autoload |
| 243 | (defcustom rmail-dont-reply-to-names nil "\ | 249 | (defcustom rmail-dont-reply-to-names nil "\ |
| 244 | *A regexp specifying addresses to prune from a reply message. | 250 | *A regexp specifying addresses to prune from a reply message. |
| @@ -1818,10 +1824,7 @@ is non-nil if the user has supplied the password interactively. | |||
| 1818 | (buffer-disable-undo errors) | 1824 | (buffer-disable-undo errors) |
| 1819 | (let ((args | 1825 | (let ((args |
| 1820 | (append | 1826 | (append |
| 1821 | (list (or rmail-movemail-program | 1827 | (list rmail-movemail-program nil errors nil) |
| 1822 | (expand-file-name "movemail" | ||
| 1823 | exec-directory)) | ||
| 1824 | nil errors nil) | ||
| 1825 | (if rmail-preserve-inbox | 1828 | (if rmail-preserve-inbox |
| 1826 | (list "-p") | 1829 | (list "-p") |
| 1827 | nil) | 1830 | nil) |