diff options
| author | Artur Malabarba | 2015-10-26 10:05:09 +0000 |
|---|---|---|
| committer | Artur Malabarba | 2015-10-26 10:05:09 +0000 |
| commit | 934bfb933f4981b2edaa208186e2f8781ab6cb9f (patch) | |
| tree | ff76e7a1e3620669fc27cad2bb77686419d4f25e /src | |
| parent | 1bab3cefc133e06aaf4a48efb1623d1b458ab212 (diff) | |
| download | emacs-934bfb933f4981b2edaa208186e2f8781ab6cb9f.tar.gz emacs-934bfb933f4981b2edaa208186e2f8781ab6cb9f.zip | |
* src/keyboard.c (post-command-hook): Shorten docstring
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 4ea0f97e77f..851207874db 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -11385,13 +11385,9 @@ If an unhandled error happens in running this hook, | |||
| 11385 | the function in which the error occurred is unconditionally removed, since | 11385 | the function in which the error occurred is unconditionally removed, since |
| 11386 | otherwise the error might happen repeatedly and make Emacs nonfunctional. | 11386 | otherwise the error might happen repeatedly and make Emacs nonfunctional. |
| 11387 | 11387 | ||
| 11388 | It is usually a bad idea to use this hook for expensive processing. | 11388 | It is a bad idea to use this hook for expensive processing. If |
| 11389 | If unavoidable, `while-no-input' can be used avoid making Emacs | 11389 | unavoidable, wrap your code in `(while-no-input (redisplay) CODE)' to |
| 11390 | unresponsive while the user types. Furthermore, this hook is run | 11390 | avoid making Emacs unresponsive while the user types. |
| 11391 | before redisplay, so the effect of the executed command won't be | ||
| 11392 | displayed on the buffer until after the hook has finished (giving the | ||
| 11393 | impression that Emacs is hanging). You can call `redisplay' inside | ||
| 11394 | `while-no-input' to avoid this. | ||
| 11395 | 11391 | ||
| 11396 | See also `pre-command-hook'. */); | 11392 | See also `pre-command-hook'. */); |
| 11397 | Vpost_command_hook = Qnil; | 11393 | Vpost_command_hook = Qnil; |