From ccb13f4de6e04f832c88a29b225d352a2c65679b Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Thu, 14 Jun 2007 00:07:15 +0000 Subject: [PATCH] (pcomplete-restore-windows): Remove redundant check. --- lisp/pcomplete.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2