From: Juanma Barranquero Date: Thu, 14 Jun 2007 00:11:40 +0000 (+0000) Subject: (python-complete-symbol): Remove redundant check. X-Git-Tag: emacs-pretest-23.0.90~12292 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=36754e8e790f70fd078b88a2e3d3a8ab0e2eceea;p=emacs.git (python-complete-symbol): Remove redundant check. --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index d2e913f2315..5c117dffd5d 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -1925,7 +1925,7 @@ Repeating the command scrolls the completion window." (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)