comparison lisp/progmodes/python.el @ 90951:3619e7770f2e

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 793-802) - Update from CVS - Remove RCS keywords - Merge from emacs--rel--22 * emacs--rel--22 (patch 42-50) - Update from CVS - Merge from gnus--rel--5.10 - Gnus ChangeLog tweaks * gnus--rel--5.10 (patch 229-232) - Merge from emacs--devo--0, emacs--rel--22 - ChangeLog tweak - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-223
author Miles Bader <miles@gnu.org>
date Sat, 16 Jun 2007 22:32:13 +0000
parents d7172f202ab8 f0107aee8e99
children a66921565bcb
comparison
equal deleted inserted replaced
90950:8568c29985a3 90951:3619e7770f2e
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