Function: cape--table-drop-metadata
cape--table-drop-metadata is a byte-compiled function defined in
cape.el.
Signature
(cape--table-drop-metadata TABLE KEYS)
Documentation
Create completion TABLE without metadata KEYS.
Source Code
;; Defined in ~/.emacs.d/elpa/cape-20260804.2303/cape.el
(defun cape--table-drop-metadata (table keys)
"Create completion TABLE without metadata KEYS."
(if (functionp table)
(lambda (str pred action)
(if (eq action 'metadata)
(when-let* ((md (copy-sequence (funcall table str pred action))))
(dolist (k keys) (setq md (assq-delete-all k md)))
md)
(complete-with-action action table str pred)))
table))