diff options
-rw-r--r-- | lisp/pcomplete.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el index c1da9fb9132..efb5980766d 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el @@ -934,7 +934,7 @@ generate the completions list. This means that the hook (if pcomplete-last-window-config (let* ((cbuf (get-buffer "*Completions*")) (cwin (and cbuf (get-buffer-window cbuf)))) - (when (and cwin (window-live-p cwin)) + (when (window-live-p cwin) (bury-buffer cbuf) (set-window-configuration pcomplete-last-window-config)))) (setq pcomplete-last-window-config nil |