diff options
| author | Lars Ingebrigtsen | 2019-07-15 19:55:20 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-07-15 19:55:26 +0200 |
| commit | b7946afe25c718822cb95fb15719ac002d9341f0 (patch) | |
| tree | 5377fbb20a952656fc34c8998d7195fc5180c8fb /src | |
| parent | 0797b39185e66983c7286e89f93dd4f6c83b6ea7 (diff) | |
| download | emacs-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.c | 9 |
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, | |||
| 10131 | DEFUN ("open-dribble-file", Fopen_dribble_file, Sopen_dribble_file, 1, 1, | 10131 | DEFUN ("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. |
| 10134 | If FILE is nil, close any open dribble file. | 10134 | Any previously open dribble file will be closed first. If FILE is |
| 10135 | The file will be closed when Emacs exits. | 10135 | nil, just close the dribble file, if any. |
| 10136 | |||
| 10137 | If the file is still open when Emacs exits, it will be closed then. | ||
| 10136 | 10138 | ||
| 10137 | The events written to the file include keyboard and mouse input | 10139 | The events written to the file include keyboard and mouse input |
| 10138 | events, but not events from executing keyboard macros. | 10140 | events, but not events from executing keyboard macros. The events are |
| 10141 | written to the dribble file immediately without line buffering. | ||
| 10139 | 10142 | ||
| 10140 | Be aware that this records ALL characters you type! | 10143 | Be aware that this records ALL characters you type! |
| 10141 | This may include sensitive information such as passwords. */) | 10144 | This may include sensitive information such as passwords. */) |