diff options
| author | Stefan Monnier | 2009-10-22 15:27:17 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-10-22 15:27:17 +0000 |
| commit | ab14d7d521ee2190d6a15be4df0c66d048b18ecd (patch) | |
| tree | 8efb3b051a588d0b5ec9d7b2047707afea3f1c13 | |
| parent | 3b067af114b9a47321b173f37ef69edc7e2df8f0 (diff) | |
| download | emacs-ab14d7d521ee2190d6a15be4df0c66d048b18ecd.tar.gz emacs-ab14d7d521ee2190d6a15be4df0c66d048b18ecd.zip | |
(switch-to-completions): Look for *Completions* in other frames as well.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/simple.el | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 845fdf11be2..ba788adc109 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * simple.el (switch-to-completions): Look for *Completions* in other | ||
| 4 | frames as well. | ||
| 5 | |||
| 3 | * pcomplete.el: Allow the use of completion-tables. | 6 | * pcomplete.el: Allow the use of completion-tables. |
| 4 | (pcomplete-std-complete): New command. | 7 | (pcomplete-std-complete): New command. |
| 5 | (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries. | 8 | (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries. |
diff --git a/lisp/simple.el b/lisp/simple.el index 2a9b8508b2d..34107edf432 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -6024,10 +6024,10 @@ select the completion near point.\n\n")))))) | |||
| 6024 | (defun switch-to-completions () | 6024 | (defun switch-to-completions () |
| 6025 | "Select the completion list window." | 6025 | "Select the completion list window." |
| 6026 | (interactive) | 6026 | (interactive) |
| 6027 | (let ((window (or (get-buffer-window "*Completions*" 0) | ||
| 6027 | ;; Make sure we have a completions window. | 6028 | ;; Make sure we have a completions window. |
| 6028 | (or (get-buffer-window "*Completions*") | 6029 | (progn (minibuffer-completion-help) |
| 6029 | (minibuffer-completion-help)) | 6030 | (get-buffer-window "*Completions*" 0))))) |
| 6030 | (let ((window (get-buffer-window "*Completions*"))) | ||
| 6031 | (when window | 6031 | (when window |
| 6032 | (select-window window) | 6032 | (select-window window) |
| 6033 | (goto-char (point-min)) | 6033 | (goto-char (point-min)) |