diff options
author | Alan Mackenzie <acm@muc.de> | 2018-10-19 17:44:31 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2018-10-19 17:44:31 +0000 |
commit | 7cfe2dc415d0a5768f9e6800836ff6887079dc30 (patch) | |
tree | 837db78e1b917e7b594a280097875857d172670b /lisp/erc/erc-lang.el | |
parent | d2a07b9a82a632e8baa179c667a98d275e5f6973 (diff) | |
download | emacs-7cfe2dc415d0a5768f9e6800836ff6887079dc30.tar.gz emacs-7cfe2dc415d0a5768f9e6800836ff6887079dc30.tar.bz2 emacs-7cfe2dc415d0a5768f9e6800836ff6887079dc30.zip |
In edebug in GUIs, move focus to the selected frame.
Thus when entering edebug, the focus will be moved to the frame with the
source being debugged, and when its finished, the focus will move back.
Commands edebug-visit-eval-list (`E') and edebug-bounce-point (`p') have been
likewise amended.
* src/keyboard.c (readable_events): Handle FOCUS_OUT_EVENT as an invisible
event. This prevents input-pending-p returning t when one of these events
arrives, and thus obviates an instant termination of sit-for when there's no
"real" event waiting.
* lisp/emacs-lisp/edebug.el (edebug-focus-frame): New function.
(edebug-default-enter, edebug--display-1, edbug-where, edebug-bounce-point)
(edebug-visit-eval-list): Call edebug-focus-frame to move focus into the
window newly selected by edebug-pop-to-buffer.
Diffstat (limited to 'lisp/erc/erc-lang.el')
0 files changed, 0 insertions, 0 deletions