emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp ChangeLog mail/rmail.el mail/rmailed... [EMACS_


From: Chong Yidong
Subject: [Emacs-diffs] emacs/lisp ChangeLog mail/rmail.el mail/rmailed... [EMACS_23_1_RC]
Date: Tue, 21 Jul 2009 23:18:39 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_23_1_RC
Changes by:     Chong Yidong <cyd>      09/07/21 23:18:38

Modified files:
        lisp           : ChangeLog 
        lisp/mail      : rmail.el rmailedit.el 

Log message:
        * mail/rmailedit.el (rmail-edit-mode): Set 
auto-save-include-big-deletions to t.
        * mail/rmail.el (rmail-variables): Set auto-save-include-big-deletions 
to t.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&only_with_tag=EMACS_23_1_RC&r1=1.15702.2.40&r2=1.15702.2.41
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/mail/rmail.el?cvsroot=emacs&only_with_tag=EMACS_23_1_RC&r1=1.535&r2=1.535.2.1
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/mail/rmailedit.el?cvsroot=emacs&only_with_tag=EMACS_23_1_RC&r1=1.59&r2=1.59.2.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.15702.2.40
retrieving revision 1.15702.2.41
diff -u -b -r1.15702.2.40 -r1.15702.2.41
--- ChangeLog   20 Jul 2009 21:30:22 -0000      1.15702.2.40
+++ ChangeLog   21 Jul 2009 23:18:32 -0000      1.15702.2.41
@@ -1,3 +1,11 @@
+2009-07-21  Chong Yidong  <address@hidden>
+
+       * mail/rmailedit.el (rmail-edit-mode): Set
+       auto-save-include-big-deletions to t.
+
+       * mail/rmail.el (rmail-variables): Set
+       auto-save-include-big-deletions to t.
+
 2009-07-20  Chong Yidong  <address@hidden>
 
        * term/pc-win.el (x-display-name, x-colors)

Index: mail/rmail.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/mail/rmail.el,v
retrieving revision 1.535
retrieving revision 1.535.2.1
diff -u -b -r1.535 -r1.535.2.1
--- mail/rmail.el       18 May 2009 16:27:00 -0000      1.535
+++ mail/rmail.el       21 Jul 2009 23:18:38 -0000      1.535.2.1
@@ -1410,6 +1410,10 @@
   ;; Don't let a local variables list in a message cause confusion.
   (make-local-variable 'local-enable-local-variables)
   (setq local-enable-local-variables nil)
+  ;; Don't turn off auto-saving based on the size of the buffer
+  ;; because that code does not understand buffer-swapping.
+  (make-local-variable 'auto-save-include-big-deletions)
+  (setq auto-save-include-big-deletions t)
   (make-local-variable 'revert-buffer-function)
   (setq revert-buffer-function 'rmail-revert)
   (make-local-variable 'font-lock-defaults)

Index: mail/rmailedit.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/mail/rmailedit.el,v
retrieving revision 1.59
retrieving revision 1.59.2.1
diff -u -b -r1.59 -r1.59.2.1
--- mail/rmailedit.el   17 May 2009 16:11:26 -0000      1.59
+++ mail/rmailedit.el   21 Jul 2009 23:18:38 -0000      1.59.2.1
@@ -64,6 +64,10 @@
     (if (boundp 'mode-line-modified)
        (setq mode-line-modified (default-value 'mode-line-modified))
       (setq mode-line-format (default-value 'mode-line-format)))
+    ;; Don't turn off auto-saving based on the size of the buffer
+    ;; because that code does not understand buffer-swapping.
+    (make-local-variable 'auto-save-include-big-deletions)
+    (setq auto-save-include-big-deletions t)
     ;; If someone uses C-x C-s, don't clobber the rmail file (bug#2625).
     (add-hook 'write-region-annotate-functions
              'rmail-write-region-annotate nil t)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]