Function: hypb:save-selected-window-and-input-focus
hypb:save-selected-window-and-input-focus is a macro defined in
hypb.el.
Signature
(hypb:save-selected-window-and-input-focus &rest BODY)
Documentation
Execute BODY, restore selected windows in frames and frame with input focus.
The value returned is the value of the last form in BODY.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hypb.el
(defmacro hypb:save-selected-window-and-input-focus (&rest body)
"Execute BODY, restore selected windows in frames and frame with input focus.
The value returned is the value of the last form in BODY."
`(let ((frame (selected-frame)))
(prog1 (save-selected-window ,@body)
(select-frame-set-input-focus frame))))