diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2007-06-14 00:07:15 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2007-06-14 00:07:15 +0000 |
commit | ccb13f4de6e04f832c88a29b225d352a2c65679b (patch) | |
tree | 770b61e0e09cba74d7e26e3ed75a49412f05bfc1 /lisp/pcomplete.el | |
parent | 09c013efcb4897c7567828831ad47746cf6465a3 (diff) | |
download | emacs-ccb13f4de6e04f832c88a29b225d352a2c65679b.tar.gz |
(pcomplete-restore-windows): Remove redundant check.
Diffstat (limited to 'lisp/pcomplete.el')
-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 |