diff options
| author | Richard M. Stallman | 2009-07-16 01:52:32 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2009-07-16 01:52:32 +0000 |
| commit | 7a907299a2cce789fadaf7c97ead215970ca7b82 (patch) | |
| tree | d4cbda540ee5bf6a8d7eded2d0cd71889b941e26 /lisp/mail | |
| parent | 4be941e3d033e95db26ce46c14e44bdcf193e638 (diff) | |
| download | emacs-7a907299a2cce789fadaf7c97ead215970ca7b82.tar.gz emacs-7a907299a2cce789fadaf7c97ead215970ca7b82.zip | |
* files.el (auto-save-mode): If buffer-saved-size is -2, don't clobber it.
* mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
(rmail-retry-ignored-headers): Add more uninteresting fields.
Diffstat (limited to 'lisp/mail')
| -rw-r--r-- | lisp/mail/rmail.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index b348495f178..ac7cbc043c4 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -371,7 +371,7 @@ If nil, display all header fields except those matched by | |||
| 371 | :group 'rmail-headers) | 371 | :group 'rmail-headers) |
| 372 | 372 | ||
| 373 | ;;;###autoload | 373 | ;;;###autoload |
| 374 | (defcustom rmail-retry-ignored-headers "^x-authentication-warning:\\|content-type:\\|content-transfer-encoding:\\|mime-version:" | 374 | (defcustom rmail-retry-ignored-headers "^x-authentication-warning:\\|^x-detected-operating-system:\\|^x-spam[-a-z]*:\\|content-type:\\|content-transfer-encoding:\\|mime-version:" |
| 375 | "Headers that should be stripped when retrying a failed message." | 375 | "Headers that should be stripped when retrying a failed message." |
| 376 | :type '(choice regexp (const nil :tag "None")) | 376 | :type '(choice regexp (const nil :tag "None")) |
| 377 | :group 'rmail-headers | 377 | :group 'rmail-headers |
| @@ -1410,6 +1410,9 @@ If so restore the actual mbox message collection." | |||
| 1410 | ;; Don't let a local variables list in a message cause confusion. | 1410 | ;; Don't let a local variables list in a message cause confusion. |
| 1411 | (make-local-variable 'local-enable-local-variables) | 1411 | (make-local-variable 'local-enable-local-variables) |
| 1412 | (setq local-enable-local-variables nil) | 1412 | (setq local-enable-local-variables nil) |
| 1413 | ;; Don't turn off auto-saving based on the size of the buffer | ||
| 1414 | ;; because that code does not understand buffer-swapping. | ||
| 1415 | (setq buffer-saved-size -2) | ||
| 1413 | (make-local-variable 'revert-buffer-function) | 1416 | (make-local-variable 'revert-buffer-function) |
| 1414 | (setq revert-buffer-function 'rmail-revert) | 1417 | (setq revert-buffer-function 'rmail-revert) |
| 1415 | (make-local-variable 'font-lock-defaults) | 1418 | (make-local-variable 'font-lock-defaults) |