comparison lisp/ChangeLog @ 4650:8905163c49c5

#'find-file: set b-f-c-s even on error (cf. non-existent files), handle undecided coding-systems passed back from #'insert-file-contents-internal better. tests/ChangeLog addition: 2009-07-13 Aidan Kehoe <kehoea@parhasard.net> * automated/mule-tests.el: Now that find-file on a nonexistent path gives a modified buffer, we want to set this kind of buffer to be non-modified here before killing it. lisp/ChangeLog addition: 2009-07-13 Aidan Kehoe <kehoea@parhasard.net> * code-files.el (insert-file-contents): Set the buffer coding system even on error; especially important when dealing with nonexistent files. If the `coding-system' property of an undecided coding system is itself undecided, don't use that as a value for buffer-file-coding-system.
author Aidan Kehoe <kehoea@parhasard.net>
date Mon, 13 Jul 2009 20:45:26 +0100
parents 3972966a4588
children 13273cffca2a
comparison
equal deleted inserted replaced
4649:3972966a4588 4650:8905163c49c5
1 2009-07-13 Aidan Kehoe <kehoea@parhasard.net>
2
3 * code-files.el (insert-file-contents):
4 Set the buffer coding system even on error; especially important
5 when dealing with nonexistent files.
6 If the `coding-system' property of an undecided coding system is
7 itself undecided, don't use that as a value for
8 buffer-file-coding-system.
9
1 2009-07-12 Aidan Kehoe <kehoea@parhasard.net> 10 2009-07-12 Aidan Kehoe <kehoea@parhasard.net>
2 11
3 * files.el (after-find-file): 12 * files.el (after-find-file):
4 If the answer to "The directory containing %s does not exist. 13 If the answer to "The directory containing %s does not exist.
5 Create?" is no, kill the current buffer, since the user probably 14 Create?" is no, kill the current buffer, since the user probably