aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/buffer.c b/src/buffer.c
index daafbcef0e4..5e923d26f3f 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1,7 +1,6 @@
1/* Buffer manipulation primitives for GNU Emacs. 1/* Buffer manipulation primitives for GNU Emacs.
2 2
3Copyright (C) 1985-1989, 1993-1995, 1997-2014 Free Software Foundation, 3Copyright (C) 1985-1989, 1993-1995, 1997-2014 Free Software Foundation, Inc.
4Inc.
5 4
6This file is part of GNU Emacs. 5This file is part of GNU Emacs.
7 6
@@ -1380,7 +1379,6 @@ It is not ensured that mode lines will be updated to show the modified
1380state of the current buffer. Use with care. */) 1379state of the current buffer. Use with care. */)
1381 (Lisp_Object flag) 1380 (Lisp_Object flag)
1382{ 1381{
1383#ifdef CLASH_DETECTION
1384 Lisp_Object fn; 1382 Lisp_Object fn;
1385 1383
1386 /* If buffer becoming modified, lock the file. 1384 /* If buffer becoming modified, lock the file.
@@ -1400,7 +1398,6 @@ state of the current buffer. Use with care. */)
1400 else if (already && NILP (flag)) 1398 else if (already && NILP (flag))
1401 unlock_file (fn); 1399 unlock_file (fn);
1402 } 1400 }
1403#endif /* CLASH_DETECTION */
1404 1401
1405 /* Here we have a problem. SAVE_MODIFF is used here to encode 1402 /* Here we have a problem. SAVE_MODIFF is used here to encode
1406 buffer-modified-p (as SAVE_MODIFF<MODIFF) as well as 1403 buffer-modified-p (as SAVE_MODIFF<MODIFF) as well as
@@ -1820,10 +1817,8 @@ cleaning up all windows currently displaying the buffer to be killed. */)
1820 1817
1821 /* Now there is no question: we can kill the buffer. */ 1818 /* Now there is no question: we can kill the buffer. */
1822 1819
1823#ifdef CLASH_DETECTION
1824 /* Unlock this buffer's file, if it is locked. */ 1820 /* Unlock this buffer's file, if it is locked. */
1825 unlock_buffer (b); 1821 unlock_buffer (b);
1826#endif /* CLASH_DETECTION */
1827 1822
1828 GCPRO1 (buffer); 1823 GCPRO1 (buffer);
1829 kill_buffer_processes (buffer); 1824 kill_buffer_processes (buffer);