[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/embark f2dcfe4d79: Fix bug in embark-collect-mode candi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/embark f2dcfe4d79: Fix bug in embark-collect-mode candidate collector |
Date: |
Thu, 29 Jun 2023 18:57:43 -0400 (EDT) |
branch: externals/embark
commit f2dcfe4d797a3ab66bb603d5cf441ae1172a672d
Author: Omar Antolín Camarena <omar.antolin@gmail.com>
Commit: Omar Antolín Camarena <omar.antolin@gmail.com>
Fix bug in embark-collect-mode candidate collector
Embarrassingly this bug has been present since support was added for
group-function
---
embark.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/embark.el b/embark.el
index b08c0c70bd..f36ad30c4d 100644
--- a/embark.el
+++ b/embark.el
@@ -2732,9 +2732,11 @@ This makes `embark-export' work in Embark Collect
buffers."
(save-excursion
(goto-char (point-min))
(let (all)
- (push (cdr (embark-target-collect-candidate)) all)
+ (when-let ((cand (embark-target-collect-candidate)))
+ (push (cdr cand) all))
(while (forward-button 1 nil nil t)
- (push (cdr (embark-target-collect-candidate)) all))
+ (when-let ((cand (embark-target-collect-candidate)))
+ (push (cdr cand) all)))
(nreverse all))))))
(defun embark-completions-buffer-candidates ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/embark f2dcfe4d79: Fix bug in embark-collect-mode candidate collector,
ELPA Syncer <=