[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico 5f12a6f: vertico--exhibit: Disable undo list (F
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico 5f12a6f: vertico--exhibit: Disable undo list (Fix #55) |
Date: |
Thu, 10 Jun 2021 04:57:17 -0400 (EDT) |
branch: externals/vertico
commit 5f12a6f87703ddb32ca85d5f2d0a8ce61d25d6d8
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
vertico--exhibit: Disable undo list (Fix #55)
---
vertico.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vertico.el b/vertico.el
index 3f02682..ea52471 100644
--- a/vertico.el
+++ b/vertico.el
@@ -470,7 +470,8 @@
(defun vertico--exhibit ()
"Exhibit completion UI."
(vertico--tidy-shadowed-file)
- (let* ((pt (max 0 (- (point) (minibuffer-prompt-end))))
+ (let* ((buffer-undo-list t) ;; Overlays affect point position and undo list!
+ (pt (max 0 (- (point) (minibuffer-prompt-end))))
(content (minibuffer-contents-no-properties))
(before (substring content 0 pt))
(after (substring content pt))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/vertico 5f12a6f: vertico--exhibit: Disable undo list (Fix #55),
ELPA Syncer <=