Mercurial > emacs
comparison src/buffer.c @ 41524:095a45698793
(Fkill_buffer): Use Frun_hooks, not Vrun_hooks.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 26 Nov 2001 00:07:17 +0000 |
| parents | 54f6ee43146e |
| children | 11a505aa1322 |
comparison
equal
deleted
inserted
replaced
| 41523:9dcf83921a38 | 41524:095a45698793 |
|---|---|
| 1290 if (NILP (tem)) | 1290 if (NILP (tem)) |
| 1291 return unbind_to (count, Qnil); | 1291 return unbind_to (count, Qnil); |
| 1292 } | 1292 } |
| 1293 | 1293 |
| 1294 /* Then run the hooks. */ | 1294 /* Then run the hooks. */ |
| 1295 if (!NILP (Vrun_hooks)) | 1295 Frun_hooks (1, &Qkill_buffer_hook); |
| 1296 call1 (Vrun_hooks, Qkill_buffer_hook); | |
| 1297 unbind_to (count, Qnil); | 1296 unbind_to (count, Qnil); |
| 1298 } | 1297 } |
| 1299 | 1298 |
| 1300 /* We have no more questions to ask. Verify that it is valid | 1299 /* We have no more questions to ask. Verify that it is valid |
| 1301 to kill the buffer. This must be done after the questions | 1300 to kill the buffer. This must be done after the questions |
