emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/embark d93b7c425a 1/2: Fix Consult preview for Embark L


From: ELPA Syncer
Subject: [elpa] externals/embark d93b7c425a 1/2: Fix Consult preview for Embark Live buffers
Date: Mon, 18 Apr 2022 16:58:03 -0400 (EDT)

branch: externals/embark
commit d93b7c425aca46d616ec5c9a1c021ad93b8d99d2
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>

    Fix Consult preview for Embark Live buffers
    
    This was a casualty of recent changes to Embark. Since nobody actually
    uses Embark Live, nobody had noticed... 😛
---
 embark-consult.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/embark-consult.el b/embark-consult.el
index 2780d69d8d..c62a645d8d 100644
--- a/embark-consult.el
+++ b/embark-consult.el
@@ -74,8 +74,7 @@
 
 (defun embark-consult--collect-candidate ()
   "Return candidate at point in collect buffer."
-  (and (derived-mode-p 'embark-collect-mode)
-       (get-text-property (point) 'embark--candidate)))
+  (cadr (embark-target-collect-candidate)))
 
 (add-hook 'consult--completion-candidate-hook 
#'embark-consult--collect-candidate)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]