Function: denote-get-completion-table
denote-get-completion-table is a natively compiled function defined in
denote.el.
Signature
(denote-get-completion-table CANDIDATES &rest METADATA)
Documentation
Return completion table with CANDIDATES and METADATA.
CANDIDATES is a list of strings. METADATA is described in
completion-metadata.
Source Code
;; Defined in /nix/store/yld6spsps5sfn9w4rjyhkvqlvdgsmvpq-emacs-packages-deps/share/emacs/site-lisp/elpa/denote-4.2.3/denote.el
;;;; File helper functions
(defun denote-get-completion-table (candidates &rest metadata)
"Return completion table with CANDIDATES and METADATA.
CANDIDATES is a list of strings. METADATA is described in
`completion-metadata'."
(lambda (string pred action)
(if (eq action 'metadata)
(cons 'metadata metadata)
(complete-with-action action candidates string pred))))