[Top][All Lists]

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

[elpa] externals/embark 4cb5394 4/6: Adjust naming convention

From: ELPA Syncer
Subject: [elpa] externals/embark 4cb5394 4/6: Adjust naming convention
Date: Tue, 16 Nov 2021 16:57:17 -0500 (EST)

branch: externals/embark
commit 4cb5394375698d2690ee3539d90629249ce29269
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Adjust naming convention
 embark-consult.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/embark-consult.el b/embark-consult.el
index f80d59d..515da03 100644
--- a/embark-consult.el
+++ b/embark-consult.el
@@ -313,16 +313,16 @@ that is a Consult async command."
 ;;; Tables of contents for buffers: imenu and outline candidate collectors
-(defun embark-consult-toc-outline ()
+(defun embark-consult-outline-candidates ()
   "Collect all outline headings in the current buffer."
   (cons 'consult-location (consult--outline-candidates)))
 (autoload 'consult-imenu--items "consult-imenu")
-(defun embark-consult-toc-imenu ()
+(defun embark-consult-imenu-candidates ()
   "Collect all imenu items in the current buffer."
   (cons 'imenu (mapcar #'car (consult-imenu--items))))
-(add-to-list 'embark-candidate-collectors #'embark-consult-toc-outline 'append)
+(add-to-list 'embark-candidate-collectors #'embark-consult-outline-candidates 
 (provide 'embark-consult)
 ;;; embark-consult.el ends here

reply via email to

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