diff options
| author | Kenichi Handa | 1997-06-18 12:55:02 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-06-18 12:55:02 +0000 |
| commit | fc3c34a837c07ae097608f836a97330dcb09ff8c (patch) | |
| tree | ce89e3ad9fa35d538b9aff19b614bea799132271 | |
| parent | f3203589311dac0e18b48b58305747542c552e9f (diff) | |
| download | emacs-fc3c34a837c07ae097608f836a97330dcb09ff8c.tar.gz emacs-fc3c34a837c07ae097608f836a97330dcb09ff8c.zip | |
(rmail-enable-decoding-message): Deleted.
(rmail-revert): Bind enable-multibyte-characters to nil before
calling rmail-convert-file.
(rmail-convert-to-babyl-format): If enable-multibyte-characters is
nil, do not convert code.
| -rw-r--r-- | lisp/mail/rmail.el | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 83246d59e8d..4f1d97c5035 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -393,14 +393,6 @@ by substituting the new message number into the existing list.") | |||
| 393 | This is set to nil by default.") | 393 | This is set to nil by default.") |
| 394 | 394 | ||
| 395 | ;;;###autoload | 395 | ;;;###autoload |
| 396 | (defvar rmail-enable-decoding-message nil | ||
| 397 | "*If non-nil, RMAIL decode character code of incomming mails automatically. | ||
| 398 | The default value is nil. | ||
| 399 | |||
| 400 | Regardless of the value of this variable, MIME messages are decoded | ||
| 401 | if rmail-enable-mime is non-nil.") | ||
| 402 | |||
| 403 | ;;;###autoload | ||
| 404 | (defcustom rmail-enable-mime nil | 396 | (defcustom rmail-enable-mime nil |
| 405 | "*If non-nil, RMAIL uses MIME feature. | 397 | "*If non-nil, RMAIL uses MIME feature. |
| 406 | If the value is t, RMAIL automatically shows MIME decoded message. | 398 | If the value is t, RMAIL automatically shows MIME decoded message. |
| @@ -898,7 +890,7 @@ Instead, these commands are available: | |||
| 898 | ;; But, we don't have to convert coding system because backup | 890 | ;; But, we don't have to convert coding system because backup |
| 899 | ;; files should have been saved by Emacs' internal format. | 891 | ;; files should have been saved by Emacs' internal format. |
| 900 | (let ((rmail-file-coding-system nil) | 892 | (let ((rmail-file-coding-system nil) |
| 901 | (rmail-enable-decoding-message nil)) | 893 | (enable-multibyte-characters nil)) |
| 902 | (rmail-convert-file) | 894 | (rmail-convert-file) |
| 903 | (goto-char (point-max)) | 895 | (goto-char (point-max)) |
| 904 | (rmail-mode))))) | 896 | (rmail-mode))))) |
| @@ -1402,7 +1394,7 @@ Optional DEFAULT is password to start with." | |||
| 1402 | (while (search-forward "\n\^_" nil t); single char "\^_" | 1394 | (while (search-forward "\n\^_" nil t); single char "\^_" |
| 1403 | (replace-match "\n^_")))); 2 chars: "^" and "_" | 1395 | (replace-match "\n^_")))); 2 chars: "^" and "_" |
| 1404 | (or rmail-enable-mime | 1396 | (or rmail-enable-mime |
| 1405 | (not rmail-enable-decoding-message) | 1397 | (not enable-multibyte-characters) |
| 1406 | (decode-coding-region start (point) 'undecided)) | 1398 | (decode-coding-region start (point) 'undecided)) |
| 1407 | (narrow-to-region (point) (point-max)) | 1399 | (narrow-to-region (point) (point-max)) |
| 1408 | (setq count (1+ count))) | 1400 | (setq count (1+ count))) |
| @@ -1465,7 +1457,7 @@ Optional DEFAULT is password to start with." | |||
| 1465 | (replace-match "\n^_")))); 2 chars: "^" and "_" | 1457 | (replace-match "\n^_")))); 2 chars: "^" and "_" |
| 1466 | (insert ?\^_) | 1458 | (insert ?\^_) |
| 1467 | (or rmail-enable-mime | 1459 | (or rmail-enable-mime |
| 1468 | (not rmail-enable-decoding-message) | 1460 | (not enable-multibyte-characters) |
| 1469 | (decode-coding-region start (point) 'undecided)) | 1461 | (decode-coding-region start (point) 'undecided)) |
| 1470 | (narrow-to-region (point) (point-max))) | 1462 | (narrow-to-region (point) (point-max))) |
| 1471 | ;; | 1463 | ;; |