diff lisp/pcomplete.el @ 81389:4e4dec192190

(pcomplete-restore-windows): Remove redundant check.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 14 Jun 2007 00:07:15 +0000
parents 6231e179c4db
children d3277da93598 3619e7770f2e
line wrap: on
line diff
--- a/lisp/pcomplete.el	Thu Jun 14 00:06:03 2007 +0000
+++ b/lisp/pcomplete.el	Thu Jun 14 00:07:15 2007 +0000
@@ -934,7 +934,7 @@
   (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