]> git.eshelyaron.com Git - emacs.git/commit
Check actual contents before promting about changed file
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 2 Sep 2016 15:44:13 +0000 (11:44 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 2 Sep 2016 15:44:13 +0000 (11:44 -0400)
commit5a4bffb6617a274ca19bc7f5c1b1ceb6345651ab
treee46b22767dd63377aa2ae58c845a9e2e29cb000e
parent7dc4c3ba3fd243efa51fe8c2092b4a030be8307d
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.
doc/lispref/buffers.texi
etc/NEWS
lisp/userlock.el
src/filelock.c