Merge pull request #1037 from wavexx/fix-duplicate-header-views

mu4e: Do not duplicate headers views in iconified/hidden frames
This commit is contained in:
Dirk-Jan C. Binnema 2017-02-21 09:46:43 +02:00 committed by GitHub
commit ff94595fad
1 changed files with 1 additions and 1 deletions

View File

@ -1103,7 +1103,7 @@ the query history stack."
(mu4e-context-label)))))
;; when the buffer is already visible, select it; otherwise,
;; switch to it.
(unless (get-buffer-window buf 'visible)
(unless (get-buffer-window buf 0)
(switch-to-buffer buf))
(run-hook-with-args 'mu4e-headers-search-hook expr)
(mu4e~proc-find