]> git.eshelyaron.com Git - emacs.git/commitdiff
(pcomplete-restore-windows): Remove redundant check.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 14 Jun 2007 00:07:15 +0000 (00:07 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 14 Jun 2007 00:07:15 +0000 (00:07 +0000)
lisp/pcomplete.el

index c1da9fb9132cfc03596710a134dd4215d5f9d2e9..efb5980766d4d5314bdad31fe987a1f7a8a54b91 100644 (file)
@@ -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