Function: vc-default-ignore-completion-table
vc-default-ignore-completion-table is a byte-compiled function defined
in vc.el.gz.
Signature
(vc-default-ignore-completion-table BACKEND FILE)
Documentation
Return the list of ignored files under BACKEND.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
(defun vc-default-ignore-completion-table (backend file)
"Return the list of ignored files under BACKEND."
(cl-delete-if
(lambda (str)
;; Commented or empty lines.
(string-match-p "\\`\\(?:#\\|[ \t\r\n]*\\'\\)" str))
(let ((file (vc-call-backend backend 'find-ignore-file file)))
(and (file-exists-p file)
(vc--read-lines file)))))