diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c index 44b33f5b60d..5fabbc253c8 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -6256,9 +6256,11 @@ The function `kill-all-local-variables' runs this before doing anything else. * | |||
| 6256 | 6256 | ||
| 6257 | DEFVAR_LISP ("buffer-list-update-hook", Vbuffer_list_update_hook, | 6257 | DEFVAR_LISP ("buffer-list-update-hook", Vbuffer_list_update_hook, |
| 6258 | doc: /* Hook run when the buffer list changes. | 6258 | doc: /* Hook run when the buffer list changes. |
| 6259 | Functions running this hook are, `get-buffer-create', | 6259 | Functions (implicitly) running this hook are `get-buffer-create', |
| 6260 | `make-indirect-buffer', `rename-buffer', `kill-buffer', | 6260 | `make-indirect-buffer', `rename-buffer', `kill-buffer', `bury-buffer' |
| 6261 | `bury-buffer-internal' and `select-window'. */); | 6261 | and `select-window'. Functions run by this hook should avoid calling |
| 6262 | `select-window' with a nil NORECORD argument or `with-temp-buffer' | ||
| 6263 | since either may lead to infinite recursion. */); | ||
| 6262 | Vbuffer_list_update_hook = Qnil; | 6264 | Vbuffer_list_update_hook = Qnil; |
| 6263 | DEFSYM (Qbuffer_list_update_hook, "buffer-list-update-hook"); | 6265 | DEFSYM (Qbuffer_list_update_hook, "buffer-list-update-hook"); |
| 6264 | 6266 | ||