aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2007-06-14 00:11:40 +0000
committerJuanma Barranquero2007-06-14 00:11:40 +0000
commit36754e8e790f70fd078b88a2e3d3a8ab0e2eceea (patch)
tree3718717eaca09ecdc238a7dc34e2d4806a3056a8
parent1b96c77f465f44c1e8c83a46f4c9bd70098766d4 (diff)
downloademacs-36754e8e790f70fd078b88a2e3d3a8ab0e2eceea.tar.gz
emacs-36754e8e790f70fd078b88a2e3d3a8ab0e2eceea.zip
(python-complete-symbol): Remove redundant check.
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
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."
1925 (interactive) 1925 (interactive)
1926 (let ((window (get-buffer-window "*Completions*"))) 1926 (let ((window (get-buffer-window "*Completions*")))
1927 (if (and (eq last-command this-command) 1927 (if (and (eq last-command this-command)
1928 window (window-live-p window) (window-buffer window) 1928 (window-live-p window) (window-buffer window)
1929 (buffer-name (window-buffer window))) 1929 (buffer-name (window-buffer window)))
1930 (with-current-buffer (window-buffer window) 1930 (with-current-buffer (window-buffer window)
1931 (if (pos-visible-in-window-p (point-max) window) 1931 (if (pos-visible-in-window-p (point-max) window)