aboutsummaryrefslogtreecommitdiffstats
path: root/java/debug.sh
diff options
context:
space:
mode:
authorBasil L. Contovounesios2026-02-20 23:33:46 +0100
committerBasil L. Contovounesios2026-02-22 17:02:34 +0100
commitc8f7e909daac853b196eae8188177fd4b89cef96 (patch)
treecdb791ac727529f84163ddc8c4db4219cf52ad14 /java/debug.sh
parente34b6caf1348f6208c038258bbf2e039d2f68957 (diff)
downloademacs-c8f7e909daac853b196eae8188177fd4b89cef96.tar.gz
emacs-c8f7e909daac853b196eae8188177fd4b89cef96.zip
Fix apropos-print window selection
The call to get-buffer-window doesn't take into account other frames, and in theory may even return a window other than the one just displayed. Work around this by buffer-locally mapping the buffer to the window used by with-output-to-temp-buffer (bug#46034). * lisp/apropos.el (apropos--window): New buffer-local variable. (apropos--set-window): New hook function. (apropos-print): Add it to the local temp-buffer-show-hook before the end of with-output-to-temp-buffer. Check apropos--window first, falling back on a get-buffer-window across visible frames.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions