[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 376ecd5346 2/2: ; Fix last change regarding 'record-all-keys'
From: |
Eli Zaretskii |
Subject: |
master 376ecd5346 2/2: ; Fix last change regarding 'record-all-keys' |
Date: |
Sat, 25 Jun 2022 05:34:43 -0400 (EDT) |
branch: master
commit 376ecd5346496a4f11a3bc93814b03d7a884b841
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Fix last change regarding 'record-all-keys'
* src/keyboard.c (syms_of_keyboard):
* etc/NEWS: Minor fixes of documentation of 'record-all-keys'.
---
etc/NEWS | 7 ++++---
src/keyboard.c | 6 ++++--
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/etc/NEWS b/etc/NEWS
index afd0725a69..5e81cc0fe8 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -400,9 +400,10 @@ dragging items from another program.
+++
** New user option 'record-all-keys'.
-If non-nil, this option will force recording of all input keys
-including in passwords prompt (this was the previous behaviour). It
-now defaults to NIL and inhibits recording of passwords.
+If non-nil, this option will force recording of all input keys,
+including those typed in response to passwords prompt (this was the
+previous behavior). The default is nil, which inhibits recording of
+passwords.
+++
** New function 'command-query'.
diff --git a/src/keyboard.c b/src/keyboard.c
index 0d52378a93..ecc5a2169c 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -13040,8 +13040,10 @@ Internal use only. */);
inhibit_record_char = false;
DEFVAR_BOOL ("record-all-keys", record_all_keys,
- doc: /* Non-nil means to record all typed keys. When
-nil, only passwords' keys are not recorded. */);
+ doc: /* Non-nil means record all keys you type.
+When nil, the default, characters typed as part of passwords are
+not recorded. The non-nil value countermands `inhibit--record-char',
+which see. */);
record_all_keys = false;
pdumper_do_now_and_after_load (syms_of_keyboard_for_pdumper);