diff lisp/progmodes/python.el @ 81392:f0107aee8e99

(python-complete-symbol): Remove redundant check.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 14 Jun 2007 00:11:40 +0000
parents e04539d0ccf5
children 0a0e79e50844 3619e7770f2e
line wrap: on
line diff
--- a/lisp/progmodes/python.el	Thu Jun 14 00:10:43 2007 +0000
+++ b/lisp/progmodes/python.el	Thu Jun 14 00:11:40 2007 +0000
@@ -1925,7 +1925,7 @@
   (interactive)
   (let ((window (get-buffer-window "*Completions*")))
     (if (and (eq last-command this-command)
-	     window (window-live-p window) (window-buffer window)
+	     (window-live-p window) (window-buffer window)
 	     (buffer-name (window-buffer window)))
 	(with-current-buffer (window-buffer window)
 	  (if (pos-visible-in-window-p (point-max) window)