[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 10660b4 07/14: corfu-first: Jump to the prompt if
From: |
Protesilaos Stavrou |
Subject: |
[elpa] externals/corfu 10660b4 07/14: corfu-first: Jump to the prompt if first candidate is selected |
Date: |
Sat, 17 Apr 2021 10:25:42 -0400 (EDT) |
branch: externals/corfu
commit 10660b4c72ddf055ad398bf135bf63bee77d1f41
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
corfu-first: Jump to the prompt if first candidate is selected
---
corfu.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/corfu.el b/corfu.el
index 2040dbe..f71ec4e 100644
--- a/corfu.el
+++ b/corfu.el
@@ -454,9 +454,9 @@ If `line-spacing/=nil' or in text-mode, the background
color is used instead.")
(corfu--goto (+ corfu--index corfu-count)))
(defun corfu-first ()
- "Go to first candidate."
+ "Go to first candidate, or to the prompt when the first candidate is
selected."
(interactive)
- (corfu--goto 0))
+ (corfu--goto (if (> corfu--index 0) 0 -1)))
(defun corfu-last ()
"Go to last candidate."
- [elpa] externals/corfu updated (7bab236 -> 4c2c997), Protesilaos Stavrou, 2021/04/17
- [elpa] externals/corfu 53ecf48 03/14: corfu-show-location/documentation: Add error messages, Protesilaos Stavrou, 2021/04/17
- [elpa] externals/corfu 4e58a71 04/14: Minor optimizations, Protesilaos Stavrou, 2021/04/17
- [elpa] externals/corfu ff1579e 11/14: README: Add link to ELPA, Protesilaos Stavrou, 2021/04/17
- [elpa] externals/corfu 2ebd35f 12/14: corfu-map: Bind M-n and M-p, Protesilaos Stavrou, 2021/04/17
- [elpa] externals/corfu 4c2c997 14/14: Version 0.2, Protesilaos Stavrou, 2021/04/17
- [elpa] externals/corfu 41eb724 02/14: Ignore corfu-abort if documentation/location window is shown, Protesilaos Stavrou, 2021/04/17
- [elpa] externals/corfu 82474fb 01/14: Fix typo in corfu-minor-mode, Protesilaos Stavrou, 2021/04/17
- [elpa] externals/corfu 7fcd09b 08/14: README: Update caveat, Protesilaos Stavrou, 2021/04/17
- [elpa] externals/corfu 6e9b8ef 10/14: Add corfu-completion-styles, Protesilaos Stavrou, 2021/04/17
- [elpa] externals/corfu 10660b4 07/14: corfu-first: Jump to the prompt if first candidate is selected,
Protesilaos Stavrou <=
- [elpa] externals/corfu cf7c6c9 05/14: Do not show annotation in candidate preview (See #2), Protesilaos Stavrou, 2021/04/17
- [elpa] externals/corfu cca1eaf 09/14: Extract corfu--move-prefix-candidates-to-front, Protesilaos Stavrou, 2021/04/17
- [elpa] externals/corfu 6e91059 06/14: Fix some face issues, add comment about face usage, Protesilaos Stavrou, 2021/04/17
- [elpa] externals/corfu a01d068 13/14: Do not colorize left border (See #6), Protesilaos Stavrou, 2021/04/17