From 27e1568967bd571e4e3da31f78ff3bb912865bc9 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 8 Aug 2022 17:46:21 +0200 Subject: [PATCH] select-active-regions doc string improvement * src/keyboard.c (syms_of_keyboard): Mention post-select-region-hook. --- src/keyboard.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 81e73a28333..f8e6ef748da 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -12950,7 +12950,10 @@ This variable only has an effect when Transient Mark mode is enabled. If the value is `only', only temporarily active regions (usually made by mouse-dragging or shift-selection) set the window system's primary -selection. */); +selection. + +If this variable causes the region to be set as the primary selection, +`post-select-region-hook' is then run afterwards. */); Vselect_active_regions = Qt; DEFVAR_LISP ("saved-region-selection", -- 2.39.2