diff options
| author | Eli Zaretskii | 2022-01-20 19:18:54 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2022-01-20 19:18:54 +0200 |
| commit | b01604b362755d02a05c65df4fca321ec84007d9 (patch) | |
| tree | 92bbdf5a36daba6e34496723e31c85058823300f /src/buffer.c | |
| parent | cce813a4e70324956d6546102e26dbb312319bbd (diff) | |
| download | emacs-b01604b362755d02a05c65df4fca321ec84007d9.tar.gz emacs-b01604b362755d02a05c65df4fca321ec84007d9.zip | |
Update documentation of 'clone-indirect-buffer-hook'
* doc/emacs/buffers.texi (Indirect Buffers):
* src/buffer.c (syms_of_buffer) <clone-indirect-buffer-hook>:
Update the documentation of 'clone-indirect-buffer-hook' due the
recent changes.
* etc/NEWS: Mention the change in where the hook is run.
* lisp/face-remap.el (face-attrs--make-indirect-safe): Doc fix.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index f5f7127a638..0bdad086ddd 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -6399,7 +6399,10 @@ This is the default. If nil, auto-save file deletion is inhibited. */); | |||
| 6399 | delete_auto_save_files = 1; | 6399 | delete_auto_save_files = 1; |
| 6400 | 6400 | ||
| 6401 | DEFVAR_LISP ("clone-indirect-buffer-hook", Vclone_indirect_buffer_hook, | 6401 | DEFVAR_LISP ("clone-indirect-buffer-hook", Vclone_indirect_buffer_hook, |
| 6402 | doc: /* Normal hook to run in the new buffer at the end of `clone-indirect-buffer'. */); | 6402 | doc: /* Normal hook to run in the new buffer at the end of `make-indirect-buffer'. |
| 6403 | |||
| 6404 | Since `clone-indirect-buffer' calls `make-indirect-buffer', this hook | ||
| 6405 | will run for `clone-indirect-buffer' calls as well. */); | ||
| 6403 | Vclone_indirect_buffer_hook = Qnil; | 6406 | Vclone_indirect_buffer_hook = Qnil; |
| 6404 | 6407 | ||
| 6405 | defsubr (&Sbuffer_live_p); | 6408 | defsubr (&Sbuffer_live_p); |