diff options
| author | Juanma Barranquero | 2008-12-15 15:44:13 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-12-15 15:44:13 +0000 |
| commit | 2364df5cff35f460f385889cc1ad6cf3141bb520 (patch) | |
| tree | d2ef41d131deaa915ce350c031d447e8bcebb021 | |
| parent | 6d49b2d88f39d9b1b34c7598fa06c29c1bce3346 (diff) | |
| download | emacs-2364df5cff35f460f385889cc1ad6cf3141bb520.tar.gz emacs-2364df5cff35f460f385889cc1ad6cf3141bb520.zip | |
* international/mule-cmds.el (select-safe-coding-system):
* mail/rmail.el (rmail-require-mime-maybe):
Fix arguments of `display-warning'.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/international/mule-cmds.el | 5 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 7 |
3 files changed, 11 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b39aecfc05e..63a5e921326 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | 2 | ||
| 3 | * international/mule.el (find-auto-coding): Fix typo in docstring. | 3 | * international/mule.el (find-auto-coding): Fix typo in docstring. |
| 4 | 4 | ||
| 5 | * international/mule-cmds.el (select-safe-coding-system): | ||
| 6 | * mail/rmail.el (rmail-require-mime-maybe): | ||
| 7 | Fix arguments of `display-warning'. | ||
| 8 | |||
| 5 | * simple.el (bad-package-check): Fix arguments of `display-warning', | 9 | * simple.el (bad-package-check): Fix arguments of `display-warning', |
| 6 | using the package name as TYPE. Use `string-match-p'. | 10 | using the package name as TYPE. Use `string-match-p'. |
| 7 | 11 | ||
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 9222b19c384..3afc512952b 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -855,14 +855,15 @@ and TO is ignored." | |||
| 855 | (if (coding-system-p (car auto-cs)) | 855 | (if (coding-system-p (car auto-cs)) |
| 856 | (setq auto-cs (car auto-cs)) | 856 | (setq auto-cs (car auto-cs)) |
| 857 | (display-warning | 857 | (display-warning |
| 858 | :warning | 858 | 'mule |
| 859 | (format "\ | 859 | (format "\ |
| 860 | Invalid coding system `%s' is specified | 860 | Invalid coding system `%s' is specified |
| 861 | for the current buffer/file by the %s. | 861 | for the current buffer/file by the %s. |
| 862 | It is highly recommended to fix it before writing to a file." | 862 | It is highly recommended to fix it before writing to a file." |
| 863 | (car auto-cs) | 863 | (car auto-cs) |
| 864 | (if (eq (cdr auto-cs) :coding) ":coding tag" | 864 | (if (eq (cdr auto-cs) :coding) ":coding tag" |
| 865 | (format "variable `%s'" (cdr auto-cs))))) | 865 | (format "variable `%s'" (cdr auto-cs)))) |
| 866 | :warning) | ||
| 866 | (or (yes-or-no-p "Really proceed with writing? ") | 867 | (or (yes-or-no-p "Really proceed with writing? ") |
| 867 | (error "Save aborted")) | 868 | (error "Save aborted")) |
| 868 | (setq auto-cs nil)))))) | 869 | (setq auto-cs nil)))))) |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 6e3056da407..795cbfcf6aa 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -768,13 +768,14 @@ isn't provided." | |||
| 768 | (require rmail-mime-feature) | 768 | (require rmail-mime-feature) |
| 769 | (error | 769 | (error |
| 770 | (display-warning | 770 | (display-warning |
| 771 | :warning | 771 | 'rmail |
| 772 | (format "Although MIME support is requested | 772 | (format "Although MIME support is requested |
| 773 | by setting `rmail-enable-mime' to non-nil, the required feature | 773 | by setting `rmail-enable-mime' to non-nil, the required feature |
| 774 | `%s' (the value of `rmail-mime-feature') | 774 | `%s' (the value of `rmail-mime-feature') |
| 775 | is not available in the current session. | 775 | is not available in the current session. |
| 776 | So, the MIME support is turned off for the moment." | 776 | So, the MIME support is turned off for the moment." |
| 777 | rmail-mime-feature)) | 777 | rmail-mime-feature) |
| 778 | :warning) | ||
| 778 | (setq rmail-enable-mime nil))))) | 779 | (setq rmail-enable-mime nil))))) |
| 779 | 780 | ||
| 780 | 781 | ||