aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-07-15 19:55:20 +0200
committerLars Ingebrigtsen2019-07-15 19:55:26 +0200
commitb7946afe25c718822cb95fb15719ac002d9341f0 (patch)
tree5377fbb20a952656fc34c8998d7195fc5180c8fb /src
parent0797b39185e66983c7286e89f93dd4f6c83b6ea7 (diff)
downloademacs-b7946afe25c718822cb95fb15719ac002d9341f0.tar.gz
emacs-b7946afe25c718822cb95fb15719ac002d9341f0.zip
open-dribble-file doc string clarification
* src/keyboard.c (Fopen_dribble_file): Clarify when the file is closed, and when events are written to the file (bug#27996).
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index c47eecab9fb..b86ad03851f 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -10131,11 +10131,14 @@ DEFUN ("recursion-depth", Frecursion_depth, Srecursion_depth, 0, 0, 0,
10131DEFUN ("open-dribble-file", Fopen_dribble_file, Sopen_dribble_file, 1, 1, 10131DEFUN ("open-dribble-file", Fopen_dribble_file, Sopen_dribble_file, 1, 1,
10132 "FOpen dribble file: ", 10132 "FOpen dribble file: ",
10133 doc: /* Start writing input events to a dribble file called FILE. 10133 doc: /* Start writing input events to a dribble file called FILE.
10134If FILE is nil, close any open dribble file. 10134Any previously open dribble file will be closed first. If FILE is
10135The file will be closed when Emacs exits. 10135nil, just close the dribble file, if any.
10136
10137If the file is still open when Emacs exits, it will be closed then.
10136 10138
10137The events written to the file include keyboard and mouse input 10139The events written to the file include keyboard and mouse input
10138events, but not events from executing keyboard macros. 10140events, but not events from executing keyboard macros. The events are
10141written to the dribble file immediately without line buffering.
10139 10142
10140Be aware that this records ALL characters you type! 10143Be aware that this records ALL characters you type!
10141This may include sensitive information such as passwords. */) 10144This may include sensitive information such as passwords. */)