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

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

[elpa] externals/denote 4477a24b74 02/15: Add comment about rationale of


From: ELPA Syncer
Subject: [elpa] externals/denote 4477a24b74 02/15: Add comment about rationale of completion table
Date: Wed, 10 Aug 2022 02:57:34 -0400 (EDT)

branch: externals/denote
commit 4477a24b74e5aacedc7951809a6958f22eb821bc
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add comment about rationale of completion table
---
 denote.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/denote.el b/denote.el
index 1996e0bab4..dcdd1b8239 100644
--- a/denote.el
+++ b/denote.el
@@ -976,6 +976,8 @@ here for clarity."
 (defvar denote--subdir-history nil
   "Minibuffer history of `denote--subdirs-prompt'.")
 
+;; Making it a completion table is useful for packages that read the
+;; metadata, such as `marginalia' and `embark'.
 (defun denote--subdirs-completion-table (dirs)
   "Match DIRS as a completion table."
   (let* ((def (car denote--subdir-history))



reply via email to

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