changeset 81392:f0107aee8e99

(python-complete-symbol): Remove redundant check.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 14 Jun 2007 00:11:40 +0000
parents 0842cee3ad33
children 279fdeaf242c
files lisp/progmodes/python.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)