Variable: hfy-istext-command

hfy-istext-command is a customizable variable defined in htmlfontify.el.gz.

Value

"file %s | sed -e 's@^[^:]*:[   ]*@@'"

Documentation

Command to run with the name of a file, to see if it is a text file or not.

The command should emit a string containing the word text if the file is a text file, and a string not containing text otherwise.

Source Code

;; Defined in /usr/src/emacs/lisp/htmlfontify.el.gz
(defcustom hfy-istext-command "file %s | sed -e 's@^[^:]*:[ \t]*@@'"
  "Command to run with the name of a file, to see if it is a text file or not.
The command should emit a string containing the word `text' if
the file is a text file, and a string not containing `text'
otherwise."
  :tag   "istext-command"
  :type  '(string))