diff options
author | Gregory Heytings <gregory@heytings.org> | 2022-07-31 20:32:15 +0000 |
---|---|---|
committer | Gregory Heytings <gregory@heytings.org> | 2022-07-31 22:42:09 +0200 |
commit | 5e296283f57b21e962e6e6860e448905f99f281e (patch) | |
tree | 8f2bdd86d108b821f46d19f926929303313b528d /lisp/emacs-lisp | |
parent | eef591072ab1cbcf2168d7b30b3e1ca1f50717ad (diff) | |
download | emacs-5e296283f57b21e962e6e6860e448905f99f281e.tar.gz emacs-5e296283f57b21e962e6e6860e448905f99f281e.tar.bz2 emacs-5e296283f57b21e962e6e6860e448905f99f281e.zip |
Add locked narrowing around pre- and post-command-hook
* src/keyboard.c (safe_run_hooks_maybe_narrowed): New function.
(command_loop_1): Use it for 'pre-command-hook' and 'post-command-hook'.
(syms_of_keyboard): Update docstrings of 'pre-command-hook' and
'post-command-hook'.
* src/lisp.h: Prototype of the new function.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions