Function: denote-get-completion-table
denote-get-completion-table is a byte-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 ~/.emacs.d/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))))