• Chong Yidong's avatar
    Add inhibit-switch-frame parameter for display-buffer, and use it in occur-edit. · 90749b53
    Chong Yidong authored
    * replace.el (occur-after-change-function): Avoid losing focus by
    using the inhibit-switch-frame display action option.
    * window.el (window--maybe-raise-frame): New function.
    (window--display-buffer): Split off from here.
    (display-buffer-reuse-window, display-buffer-pop-up-frame)
    (display-buffer-pop-up-window, display-buffer-use-some-window):
    Obey an inhibit-switch-frame action alist entry.
    (display-buffer): Update doc.
    Fixes: debbugs:12139
window.el 231 KB