From b01604b362755d02a05c65df4fca321ec84007d9 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 20 Jan 2022 19:18:54 +0200 Subject: Update documentation of 'clone-indirect-buffer-hook' * doc/emacs/buffers.texi (Indirect Buffers): * src/buffer.c (syms_of_buffer) : 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. --- lisp/face-remap.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/face-remap.el') diff --git a/lisp/face-remap.el b/lisp/face-remap.el index 95dffcadd68..3675ea14b4c 100644 --- a/lisp/face-remap.el +++ b/lisp/face-remap.el @@ -71,7 +71,7 @@ :font :inherit :fontset :distant-foreground :extend :vector]) (defun face-attrs--make-indirect-safe () - "Deep copy `face-remapping-alist' on cloning for safety." + "Deep-copy the buffer's `face-remapping-alist' upon cloning the buffer." (setq-local face-remapping-alist (mapcar #'copy-sequence face-remapping-alist))) -- cgit v1.2.3