[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/buffer.c [emacs-unicode-2]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/src/buffer.c [emacs-unicode-2] |
Date: |
Thu, 09 Sep 2004 17:16:53 -0400 |
Index: emacs/src/buffer.c
diff -c emacs/src/buffer.c:1.435.2.6 emacs/src/buffer.c:1.435.2.7
*** emacs/src/buffer.c:1.435.2.6 Fri Aug 27 07:00:31 2004
--- emacs/src/buffer.c Thu Sep 9 09:36:35 2004
***************
*** 695,700 ****
--- 695,701 ----
b->mark_active = Qnil;
b->point_before_scroll = Qnil;
b->file_format = Qnil;
+ b->auto_save_file_format = Qt;
b->last_selected_window = Qnil;
XSETINT (b->display_count, 0);
b->display_time = Qnil;
***************
*** 4978,4983 ****
--- 4979,4985 ----
buffer_defaults.undo_list = Qnil;
buffer_defaults.mark_active = Qnil;
buffer_defaults.file_format = Qnil;
+ buffer_defaults.auto_save_file_format = Qt;
buffer_defaults.overlays_before = NULL;
buffer_defaults.overlays_after = NULL;
buffer_defaults.overlay_center = BEG;
***************
*** 5036,5041 ****
--- 5038,5044 ----
XSETINT (buffer_local_flags.file_truename, -1);
XSETINT (buffer_local_flags.invisibility_spec, -1);
XSETINT (buffer_local_flags.file_format, -1);
+ XSETINT (buffer_local_flags.auto_save_file_format, -1);
XSETINT (buffer_local_flags.display_count, -1);
XSETINT (buffer_local_flags.display_time, -1);
XSETINT (buffer_local_flags.enable_multibyte_characters, -1);
***************
*** 5846,5851 ****
--- 5849,5861 ----
Formats are defined by `format-alist'. This variable is
set when a file is visited. */);
+ DEFVAR_PER_BUFFER ("buffer-auto-save-file-format",
+ ¤t_buffer->auto_save_file_format, Qnil,
+ doc: /* *Format in which to write auto-save files.
+ Should be a list of symbols naming formats that are defined in `format-alist'.
+ If it is t, which is the default, auto-save files are written in the
+ same format as a regular save would use. */);
+
DEFVAR_PER_BUFFER ("buffer-invisibility-spec",
¤t_buffer->invisibility_spec, Qnil,
doc: /* Invisibility spec of this buffer.
- [Emacs-diffs] Changes to emacs/src/buffer.c [emacs-unicode-2],
Miles Bader <=