diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2016-09-02 11:44:13 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2016-09-02 11:44:13 -0400 |
commit | 5a4bffb6617a274ca19bc7f5c1b1ceb6345651ab (patch) | |
tree | e46b22767dd63377aa2ae58c845a9e2e29cb000e /etc | |
parent | 7dc4c3ba3fd243efa51fe8c2092b4a030be8307d (diff) |
Check actual contents before promting about changed file
* lisp/userlock.el (userlock--check-content-unchanged)
(userlock--ask-user-about-supersession-threat): New functions.
* src/filelock.c (lock_file): Use them to avoid spurious prompting.
* doc/lispref/buffers.texi (Modification Time): Update doc of
ask-user-about-supersession-threat.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -213,6 +213,10 @@ In modes where form feed was treated as a whitespace character, It now deletes whitespace after the last form feed thus behaving the same as in modes where the character is not whitespace. +** No more prompt about changed file when the file's content is unchanged. +Instead of only checking the modification time, Emacs now also checks +the file's actual content before prompting the user. + * Changes in Specialized Modes and Packages in Emacs 25.2 |