Mercurial > emacs
changeset 100437:3f79b3dad1ed
* pmail.el (pmail-require-mime-maybe): Fix arguments of `display-warning'.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 15 Dec 2008 15:40:53 +0000 |
parents | a86104b93aaa |
children | f2d8842e9574 |
files | lisp/mail/ChangeLog.pmail lisp/mail/pmail.el |
diffstat | 2 files changed, 13 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/ChangeLog.pmail Mon Dec 15 15:22:48 2008 +0000 +++ b/lisp/mail/ChangeLog.pmail Mon Dec 15 15:40:53 2008 +0000 @@ -1,3 +1,8 @@ +2008-12-15 Juanma Barranquero <lekktu@gmail.com> + + * pmail.el (pmail-require-mime-maybe): + Fix arguments of `display-warning'. + 2008-12-15 Chong Yidong <cyd@stupidchicken.com> * pmail.el (pmail): Call pmail-swap-buffers-maybe.
--- a/lisp/mail/pmail.el Mon Dec 15 15:22:48 2008 +0000 +++ b/lisp/mail/pmail.el Mon Dec 15 15:40:53 2008 +0000 @@ -824,13 +824,14 @@ (require pmail-mime-feature) (error (display-warning - :warning + 'pmail (format "Although MIME support is requested by setting `pmail-enable-mime' to non-nil, the required feature `%s' (the value of `pmail-mime-feature') is not available in the current session. -So, the MIME support is turned off for the moment." - pmail-mime-feature)) +So, the MIME support is turned off for the moment." + pmail-mime-feature) + :warning) (setq pmail-enable-mime nil))))) @@ -1683,7 +1684,7 @@ (when spam-filter-p (if rsf-beep (beep t)) (sleep-for rsf-sleep-after-message)) - + ;; Establish the return value and move to the first new ;; message unless we have other unseen messages before it. (setq result (> new-messages 0)) @@ -1751,7 +1752,7 @@ ;; The password is embedded. Strip it out since movemail ;; does not really like it, in spite of the movemail spec. (setq file (concat proto "://" user "@" host))) - + (if (pmail-movemail-variant-p 'emacs) (if (string-equal proto "pop") (list (concat "po:" user ":" host) @@ -1943,7 +1944,7 @@ (goto-char (point-max)) (forward-char -1) (insert name ": " value "\n")) - + (defun pmail-add-mbox-headers () "Validate the RFC2822 format for the new messages. Point should be at the first new message. @@ -2072,7 +2073,7 @@ (narrow-to-region beg end) (mail-fetch-field name)) (pmail-error-bad-format msg))))))) - + (defun pmail-get-attr-names (&optional msg) "Return the message attributes in a comma separated string. MSG, if set identifies the message number to use. The current