Function: project--completion-table-with-category

project--completion-table-with-category is a byte-compiled function defined in project.el.gz.

Signature

(project--completion-table-with-category TABLE CATEGORY)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
;; Switch to `completion-table-with-metadata' when we can.
(defun project--completion-table-with-category (table category)
  (lambda (string pred action)
    (cond
     ((eq action 'metadata)
      `(metadata . ((category . ,category))))
     (t
      (complete-with-action action table string pred)))))