]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix last change regarding 'record-all-keys'
authorEli Zaretskii <eliz@gnu.org>
Sat, 25 Jun 2022 09:33:45 +0000 (12:33 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 25 Jun 2022 09:33:45 +0000 (12:33 +0300)
* src/keyboard.c (syms_of_keyboard):
* etc/NEWS: Minor fixes of documentation of 'record-all-keys'.

etc/NEWS
src/keyboard.c

index afd0725a69743791f5e56fb6af1e513f7c6bf761..5e81cc0fe8b67ecc0375b2666392bcae553700aa 100644 (file)
--- 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'.
index 0d52378a93e4465bc941049b36d3d98149b60f1a..ecc5a2169c9106ab0230692c099992dfea118df7 100644 (file)
@@ -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);