[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp simple.el
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] emacs/lisp simple.el |
Date: |
Thu, 19 Nov 2009 17:39:54 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Juri Linkov <jurta> 09/11/19 17:39:54
Modified files:
lisp : simple.el
Log message:
(switch-to-completions): Move point to the first
completion when point was at the beginning of the buffer.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/simple.el?cvsroot=emacs&r1=1.1031&r2=1.1032
Patches:
Index: simple.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/simple.el,v
retrieving revision 1.1031
retrieving revision 1.1032
diff -u -b -r1.1031 -r1.1032
--- simple.el 19 Nov 2009 03:12:52 -0000 1.1031
+++ simple.el 19 Nov 2009 17:39:54 -0000 1.1032
@@ -6037,9 +6037,10 @@
(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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs/lisp simple.el,
Juri Linkov <=