[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico 81a4b35: vertico-directory-up: Check point posi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico 81a4b35: vertico-directory-up: Check point position (Fix #113) |
Date: |
Sun, 22 Aug 2021 09:57:18 -0400 (EDT) |
branch: externals/vertico
commit 81a4b35f8d11dfad56de1727ee9bdd3b4461d07c
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
vertico-directory-up: Check point position (Fix #113)
---
extensions/vertico-directory.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/extensions/vertico-directory.el b/extensions/vertico-directory.el
index c24a3ec..4cb9e41 100644
--- a/extensions/vertico-directory.el
+++ b/extensions/vertico-directory.el
@@ -65,7 +65,8 @@
(defun vertico-directory-up ()
"Delete directory before point."
(interactive)
- (when (and (eq (char-before) ?/)
+ (when (and (> (point) (minibuffer-prompt-end))
+ (eq (char-before) ?/)
(vertico-directory--completing-file-p))
(save-excursion
(goto-char (1- (point)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/vertico 81a4b35: vertico-directory-up: Check point position (Fix #113),
ELPA Syncer <=