changeset 81389:4e4dec192190

(pcomplete-restore-windows): Remove redundant check.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 14 Jun 2007 00:07:15 +0000
parents 0a0d00f78651
children fe478726dca2
files lisp/pcomplete.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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