]> git.eshelyaron.com Git - emacs.git/commit
Try to fix bug#5314. This is probably not the final word, tho.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 13 Jan 2010 04:33:42 +0000 (23:33 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 13 Jan 2010 04:33:42 +0000 (23:33 -0500)
commit0b5397c27163729ca48af4d0c569e574638be2d1
tree626dd46c422a029de0664b2be4a625460663f463
parentd1bf28dc12ef1a0f3cecbf78f38795db27b38574
Try to fix bug#5314.  This is probably not the final word, tho.
* buffer.c (Fset_buffer_modified_p): Try and be careful not to modify
recent-auto-save-p as a side-effect.
* buffer.h (BUF_AUTOSAVE_MODIFF): New macro.
* buffer.c (Fkill_buffer, reset_buffer):
* editfns.c (Fsubst_char_in_region):
* fileio.c (Finsert_file_contents, Fdo_auto_save)
(Fset_buffer_auto_saved, Frecent_auto_save_p): Use it.
src/ChangeLog
src/buffer.c
src/buffer.h
src/editfns.c
src/fileio.c