aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorYuuki Harano2021-07-18 18:44:54 +0900
committerYuuki Harano2021-07-18 18:44:54 +0900
commitb242394f24b154f8e20f5abf4b2f826629e99ea6 (patch)
tree9d20e7baa90bd4039ff08c098a09a8c729ce2f12 /src/buffer.c
parent492a0ae5927eda83b65dd08d3e1655a62fc2c43d (diff)
parent6b802a08cabfb23bdf1f65faa2ee163d3efa820d (diff)
downloademacs-b242394f24b154f8e20f5abf4b2f826629e99ea6.tar.gz
emacs-b242394f24b154f8e20f5abf4b2f826629e99ea6.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs into feature/pgtk
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 565577e75ae..02ca23eb2dd 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1449,9 +1449,9 @@ state of the current buffer. Use with care. */)
1449 { 1449 {
1450 bool already = SAVE_MODIFF < MODIFF; 1450 bool already = SAVE_MODIFF < MODIFF;
1451 if (!already && !NILP (flag)) 1451 if (!already && !NILP (flag))
1452 lock_file (fn); 1452 Flock_file (fn);
1453 else if (already && NILP (flag)) 1453 else if (already && NILP (flag))
1454 unlock_file (fn); 1454 Funlock_file (fn);
1455 } 1455 }
1456 } 1456 }
1457 1457
@@ -1757,7 +1757,7 @@ cleaning up all windows currently displaying the buffer to be killed. */)
1757 if (thread_check_current_buffer (b)) 1757 if (thread_check_current_buffer (b))
1758 return Qnil; 1758 return Qnil;
1759 1759
1760 /* Run hooks with the buffer to be killed the current buffer. */ 1760 /* Run hooks with the buffer to be killed as the current buffer. */
1761 { 1761 {
1762 ptrdiff_t count = SPECPDL_INDEX (); 1762 ptrdiff_t count = SPECPDL_INDEX ();
1763 1763