aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/filelock.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 87c2d364b05..05c5b42ef90 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12014-03-26 Glenn Morris <rgm@gnu.org> 12014-03-26 Glenn Morris <rgm@gnu.org>
2 2
3 * filelock.c (Flock_buffer): Doc tweak.
4
3 * buffer.c (Frestore_buffer_modified_p, Fkill_buffer): 5 * buffer.c (Frestore_buffer_modified_p, Fkill_buffer):
4 * emacs.c (shut_down_emacs): 6 * emacs.c (shut_down_emacs):
5 * fileio.c (Finsert_file_contents, write_region): 7 * fileio.c (Finsert_file_contents, write_region):
diff --git a/src/filelock.c b/src/filelock.c
index cc5c821cadd..f857c488143 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -771,7 +771,9 @@ DEFUN ("lock-buffer", Flock_buffer, Slock_buffer,
771 0, 1, 0, 771 0, 1, 0,
772 doc: /* Lock FILE, if current buffer is modified. 772 doc: /* Lock FILE, if current buffer is modified.
773FILE defaults to current buffer's visited file, 773FILE defaults to current buffer's visited file,
774or else nothing is done if current buffer isn't visiting a file. */) 774or else nothing is done if current buffer isn't visiting a file.
775
776If the option `create-lockfiles' is nil, this does nothing. */)
775 (Lisp_Object file) 777 (Lisp_Object file)
776{ 778{
777 if (NILP (file)) 779 if (NILP (file))