From 376ecd5346496a4f11a3bc93814b03d7a884b841 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 25 Jun 2022 12:33:45 +0300 Subject: [PATCH] ; 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 afd0725a697..5e81cc0fe8b 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 0d52378a93e..ecc5a2169c9 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); -- 2.39.5