aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorStefan Monnier2011-02-11 21:27:53 -0500
committerStefan Monnier2011-02-11 21:27:53 -0500
commitc530e1c2a3a036d71942c354ba11b30a06341fd7 (patch)
tree184fa6b6c9bb58855aa9f1ae6cded97edc4f10fb /src/buffer.c
parent295fb2ac59b66c0e2470325a42c8e58c135ed044 (diff)
parente0e36cac4adaa32ad755a34c811366dd8e4655bc (diff)
downloademacs-c530e1c2a3a036d71942c354ba11b30a06341fd7.tar.gz
emacs-c530e1c2a3a036d71942c354ba11b30a06341fd7.zip
Merge from trunk
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 7a0260f584a..5229f899e65 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1320,7 +1320,7 @@ No argument or nil as argument means do this for the current buffer. */)
1320} 1320}
1321 1321
1322/* 1322/*
1323 DEFVAR_LISP ("kill-buffer-hook", no_cell, "\ 1323 DEFVAR_LISP ("kill-buffer-hook", ..., "\
1324Hook to be run (by `run-hooks', which see) when a buffer is killed.\n\ 1324Hook to be run (by `run-hooks', which see) when a buffer is killed.\n\
1325The buffer being killed will be current while the hook is running.\n\ 1325The buffer being killed will be current while the hook is running.\n\
1326See `kill-buffer'." 1326See `kill-buffer'."
@@ -2401,7 +2401,7 @@ current buffer is cleared. */)
2401 *p = tmp[0]; 2401 *p = tmp[0];
2402 TEMP_SET_PT_BOTH (pos + 1, pos + 1); 2402 TEMP_SET_PT_BOTH (pos + 1, pos + 1);
2403 bytes--; 2403 bytes--;
2404 insert_1_both (tmp + 1, bytes, bytes, 1, 0, 0); 2404 insert_1_both ((char *) tmp + 1, bytes, bytes, 1, 0, 0);
2405 /* Now the gap is after the just inserted data. */ 2405 /* Now the gap is after the just inserted data. */
2406 pos = GPT; 2406 pos = GPT;
2407 p = GAP_END_ADDR; 2407 p = GAP_END_ADDR;