summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-08-08 17:46:21 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-08-08 17:47:07 +0200
commit27e1568967bd571e4e3da31f78ff3bb912865bc9 (patch)
treef0ab1f093920e67c14ca87bca5398e514fa6e277 /src/keyboard.c
parentb40def964414a5a3fab1da53a0f7cda2f87fc28f (diff)
downloademacs-27e1568967bd571e4e3da31f78ff3bb912865bc9.tar.gz
select-active-regions doc string improvement
* src/keyboard.c (syms_of_keyboard): Mention post-select-region-hook.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c5
1 files changed, 4 insertions, 1 deletions
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",