Description: TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . auctex (11.87-1.2) unstable; urgency=low . * Raise windows on forward/reverse search. Author: Itaï BEN YAACOV --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- auctex-11.87.orig/tex.el +++ auctex-11.87/tex.el @@ -1515,6 +1519,9 @@ or newer." (if (null buf) (message "No buffer for %s." file) (switch-to-buffer buf) + (let ((wmctrl (executable-find "wmctrl"))) + (if wmctrl + (start-process "wmctrl" nil wmctrl "-R" (frame-parameter nil 'name)))) (push-mark (point) 'nomsg) (goto-char (point-min)) (forward-line (1- line))