Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
81391:0842cee3ad33 | 81392:f0107aee8e99 |
---|---|
1923 "Perform completion on the Python symbol preceding point. | 1923 "Perform completion on the Python symbol preceding point. |
1924 Repeating the command scrolls the completion window." | 1924 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) |
1932 (set-window-start window (point-min)) | 1932 (set-window-start window (point-min)) |
1933 (save-selected-window | 1933 (save-selected-window |