Mercurial > emacs
comparison src/buffer.c @ 103917:aa5e8ff5a9c4
* fileio.c (Fwrite_region, Fdo_auto_save): Handle save_length = -2.
(Fset_buffer_auto_saved): Handle save_length = -2.
Comment changes in other files.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Thu, 16 Jul 2009 01:45:08 +0000 |
| parents | a58ef8dce7bd |
| children | 52ff955e0cc5 |
comparison
equal
deleted
inserted
replaced
| 103916:9653887b5cd0 | 103917:aa5e8ff5a9c4 |
|---|---|
| 5851 Backing up is done before the first time the file is saved. */); | 5851 Backing up is done before the first time the file is saved. */); |
| 5852 | 5852 |
| 5853 DEFVAR_PER_BUFFER ("buffer-saved-size", ¤t_buffer->save_length, | 5853 DEFVAR_PER_BUFFER ("buffer-saved-size", ¤t_buffer->save_length, |
| 5854 make_number (Lisp_Int), | 5854 make_number (Lisp_Int), |
| 5855 doc: /* Length of current buffer when last read in, saved or auto-saved. | 5855 doc: /* Length of current buffer when last read in, saved or auto-saved. |
| 5856 0 initially. */); | 5856 0 initially. |
| 5857 -1 means auto-saving turned off until next real save. | |
| 5858 | |
| 5859 If you set this to -2, that means don't turn off auto-saving in this buffer | |
| 5860 if its text size shrinks. If you use `buffer-swap-text' on a buffer, | |
| 5861 you probably should set this to -2 in that buffer. */); | |
| 5857 | 5862 |
| 5858 DEFVAR_PER_BUFFER ("selective-display", ¤t_buffer->selective_display, | 5863 DEFVAR_PER_BUFFER ("selective-display", ¤t_buffer->selective_display, |
| 5859 Qnil, | 5864 Qnil, |
| 5860 doc: /* Non-nil enables selective display. | 5865 doc: /* Non-nil enables selective display. |
| 5861 An integer N as value means display only lines | 5866 An integer N as value means display only lines |
