Function: auth-source-pass--entries-matching-suffix

auth-source-pass--entries-matching-suffix is a byte-compiled function defined in auth-source-pass.el.gz.

Signature

(auth-source-pass--entries-matching-suffix SUFFIX ENTRIES)

Documentation

Return entries matching SUFFIX.

If ENTRIES is nil, use the result of calling auth-source-pass-entries instead.

Source Code

;; Defined in /usr/src/emacs/lisp/auth-source-pass.el.gz
(defun auth-source-pass--entries-matching-suffix (suffix entries)
  "Return entries matching SUFFIX.
If ENTRIES is nil, use the result of calling `auth-source-pass-entries' instead."
  (cl-remove-if-not
   (lambda (entry) (string-match-p
               (format "\\(^\\|/\\)%s$" (regexp-quote suffix))
               entry))
   (or entries (auth-source-pass-entries))))