aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2008-12-15 15:40:53 +0000
committerJuanma Barranquero2008-12-15 15:40:53 +0000
commit6d49b2d88f39d9b1b34c7598fa06c29c1bce3346 (patch)
tree22206de5944c1c69abdafee18b379cdf3fecd022
parentd5c78b09ab3e092d0b170671c3f7641f986f56e8 (diff)
downloademacs-6d49b2d88f39d9b1b34c7598fa06c29c1bce3346.tar.gz
emacs-6d49b2d88f39d9b1b34c7598fa06c29c1bce3346.zip
* pmail.el (pmail-require-mime-maybe): Fix arguments of `display-warning'.
-rw-r--r--lisp/mail/ChangeLog.pmail5
-rw-r--r--lisp/mail/pmail.el15
2 files changed, 13 insertions, 7 deletions
diff --git a/lisp/mail/ChangeLog.pmail b/lisp/mail/ChangeLog.pmail
index 281674165a7..1939bbd5c5a 100644
--- a/lisp/mail/ChangeLog.pmail
+++ b/lisp/mail/ChangeLog.pmail
@@ -1,3 +1,8 @@
12008-12-15 Juanma Barranquero <lekktu@gmail.com>
2
3 * pmail.el (pmail-require-mime-maybe):
4 Fix arguments of `display-warning'.
5
12008-12-15 Chong Yidong <cyd@stupidchicken.com> 62008-12-15 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * pmail.el (pmail): Call pmail-swap-buffers-maybe. 8 * pmail.el (pmail): Call pmail-swap-buffers-maybe.
diff --git a/lisp/mail/pmail.el b/lisp/mail/pmail.el
index 89e8ab69037..7f7665de8ad 100644
--- a/lisp/mail/pmail.el
+++ b/lisp/mail/pmail.el
@@ -824,13 +824,14 @@ isn't provided."
824 (require pmail-mime-feature) 824 (require pmail-mime-feature)
825 (error 825 (error
826 (display-warning 826 (display-warning
827 :warning 827 'pmail
828 (format "Although MIME support is requested 828 (format "Although MIME support is requested
829by setting `pmail-enable-mime' to non-nil, the required feature 829by setting `pmail-enable-mime' to non-nil, the required feature
830`%s' (the value of `pmail-mime-feature') 830`%s' (the value of `pmail-mime-feature')
831is not available in the current session. 831is not available in the current session.
832So, the MIME support is turned off for the moment." 832So, the MIME support is turned off for the moment."
833 pmail-mime-feature)) 833 pmail-mime-feature)
834 :warning)
834 (setq pmail-enable-mime nil))))) 835 (setq pmail-enable-mime nil)))))
835 836
836 837
@@ -1683,7 +1684,7 @@ It returns t if it got any new messages."
1683 (when spam-filter-p 1684 (when spam-filter-p
1684 (if rsf-beep (beep t)) 1685 (if rsf-beep (beep t))
1685 (sleep-for rsf-sleep-after-message)) 1686 (sleep-for rsf-sleep-after-message))
1686 1687
1687 ;; Establish the return value and move to the first new 1688 ;; Establish the return value and move to the first new
1688 ;; message unless we have other unseen messages before it. 1689 ;; message unless we have other unseen messages before it.
1689 (setq result (> new-messages 0)) 1690 (setq result (> new-messages 0))
@@ -1751,7 +1752,7 @@ is non-nil if the user has supplied the password interactively.
1751 ;; The password is embedded. Strip it out since movemail 1752 ;; The password is embedded. Strip it out since movemail
1752 ;; does not really like it, in spite of the movemail spec. 1753 ;; does not really like it, in spite of the movemail spec.
1753 (setq file (concat proto "://" user "@" host))) 1754 (setq file (concat proto "://" user "@" host)))
1754 1755
1755 (if (pmail-movemail-variant-p 'emacs) 1756 (if (pmail-movemail-variant-p 'emacs)
1756 (if (string-equal proto "pop") 1757 (if (string-equal proto "pop")
1757 (list (concat "po:" user ":" host) 1758 (list (concat "po:" user ":" host)
@@ -1943,7 +1944,7 @@ message (including the blank line separator)."
1943 (goto-char (point-max)) 1944 (goto-char (point-max))
1944 (forward-char -1) 1945 (forward-char -1)
1945 (insert name ": " value "\n")) 1946 (insert name ": " value "\n"))
1946 1947
1947(defun pmail-add-mbox-headers () 1948(defun pmail-add-mbox-headers ()
1948 "Validate the RFC2822 format for the new messages. 1949 "Validate the RFC2822 format for the new messages.
1949Point should be at the first new message. 1950Point should be at the first new message.
@@ -2072,7 +2073,7 @@ current mail message will be used otherwise."
2072 (narrow-to-region beg end) 2073 (narrow-to-region beg end)
2073 (mail-fetch-field name)) 2074 (mail-fetch-field name))
2074 (pmail-error-bad-format msg))))))) 2075 (pmail-error-bad-format msg)))))))
2075 2076
2076(defun pmail-get-attr-names (&optional msg) 2077(defun pmail-get-attr-names (&optional msg)
2077 "Return the message attributes in a comma separated string. 2078 "Return the message attributes in a comma separated string.
2078MSG, if set identifies the message number to use. The current 2079MSG, if set identifies the message number to use. The current