Function: use-package-ensure-system-package-exists?

use-package-ensure-system-package-exists? is a byte-compiled function defined in use-package-ensure-system-package.el.gz.

Signature

(use-package-ensure-system-package-exists? FILE-OR-EXE)

Documentation

If FILE-OR-EXE is a string, ensure the file path exists.

If it is a symbol, ensure the binary exist.

Source Code

;; Defined in /usr/src/emacs/lisp/use-package/use-package-ensure-system-package.el.gz
(defun use-package-ensure-system-package-exists? (file-or-exe)
  "If FILE-OR-EXE is a string, ensure the file path exists.
If it is a symbol, ensure the binary exist."
  (if (stringp file-or-exe)
      (file-exists-p file-or-exe)
    (executable-find (symbol-name file-or-exe))))