branch: elpa commit bb9f42732d4037962e44274a098283dab61e0b43 Author: Tassilo Horn <t...@gnu.org> Commit: Tassilo Horn <t...@gnu.org>
Grab focus on Evince inverse search * tex.el (TeX-source-correlate-sync-source): Call `x-focus-frame'. --- tex.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tex.el b/tex.el index 8ea0b45..58c8a04 100644 --- a/tex.el +++ b/tex.el @@ -1885,7 +1885,8 @@ or newer." (when (or (< pos (point-min)) (> pos (point-max))) (widen)) - (goto-char pos))))) + (goto-char pos)) + (x-focus-frame (selected-frame))))) (define-minor-mode TeX-source-correlate-mode "Minor mode for forward and inverse search.