From: Juanma Barranquero Date: Thu, 14 Jun 2007 00:07:15 +0000 (+0000) Subject: (pcomplete-restore-windows): Remove redundant check. X-Git-Tag: emacs-pretest-23.0.90~12295 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ccb13f4de6e04f832c88a29b225d352a2c65679b;p=emacs.git (pcomplete-restore-windows): Remove redundant check. --- 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