diff options
| author | Glenn Morris | 2013-01-30 22:35:45 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-01-30 22:35:45 -0800 |
| commit | 9dbda100755158fd070931748f2b80ad09bc6815 (patch) | |
| tree | 4051909615adf3e1c618976602e66a2cbcc23a6e /src/undo.c | |
| parent | ad4de702e19bf1a8065cb84b6eefbc68190d9c3f (diff) | |
| download | emacs-9dbda100755158fd070931748f2b80ad09bc6815.tar.gz emacs-9dbda100755158fd070931748f2b80ad09bc6815.zip | |
Reduce delay between backing up a file and saving new version
* lisp/files.el (basic-save-buffer-2):
Choose coding system for writing the file before backing it up.
* src/fileio.c (choose_write_coding_system): Make it callable from Lisp.
(Fwrite_region): If coding-system-for-write is set, don't call
choose_write_coding_system.
Move the last piece of choose_write_coding_system here.
(syms_of_fileio): Add choose-write-coding-system.
Fixes: debbugs:13522
Diffstat (limited to 'src/undo.c')
0 files changed, 0 insertions, 0 deletions