Function: nnheader-file-error

nnheader-file-error is a byte-compiled function defined in nnheader.el.gz.

Signature

(nnheader-file-error FILE)

Documentation

Return a string that says what is wrong with FILE.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nnheader.el.gz
;;; Various functions the backends use.

(defun nnheader-file-error (file)
  "Return a string that says what is wrong with FILE."
  (format
   (cond
    ((not (file-exists-p file))
     "%s does not exist")
    ((file-directory-p file)
     "%s is a directory")
    ((not (file-readable-p file))
     "%s is not readable"))
   file))