Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
042b7cc6
Commit
042b7cc6
authored
Nov 19, 2009
by
Juri Linkov
Browse files
(switch-to-completions): Move point to the first
completion when point was at the beginning of the buffer.
parent
40e93a2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
lisp/ChangeLog
lisp/ChangeLog
+8
-0
lisp/simple.el
lisp/simple.el
+5
-4
No files found.
lisp/ChangeLog
View file @
042b7cc6
2009-11-19 Juri Linkov <juri@jurta.org>
* minibuffer.el (completions-format): New defcustom.
(completion--insert-strings): Implement vertical format.
* simple.el (switch-to-completions): Move point to the first
completion when point was at the beginning of the buffer.
2009-11-19 Juri Linkov <juri@jurta.org>
* find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
...
...
lisp/simple.el
View file @
042b7cc6
...
...
@@ -6032,14 +6032,15 @@ select the completion near point.\n\n"))))))
"
Select
the
completion
list
window.
"
(interactive)
(let ((window (or (get-buffer-window "
*Completions*
" 0)
;; Make sure we have a completions window.
;; Make sure we have a completions window.
(progn (minibuffer-completion-help)
(get-buffer-window "
*Completions*
" 0)))))
(when window
(select-window window)
(goto-char (point-min))
(search-forward "
\n\n
" nil t)
(forward-line 1))))
;; In the new buffer, go to the first completion.
;; FIXME: Perhaps this should be done in `minibuffer-completion-help'.
(when (bobp)
(next-completion 1)))))
;;; Support keyboard commands to turn on various modifiers.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment