Function: hif-mathify

hif-mathify is a byte-compiled function defined in hideif.el.gz.

Signature

(hif-mathify VAL)

Documentation

Treat VAL as a hideif number: if it's t or nil, use 1 or 0.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideif.el.gz
(defun hif-mathify (val)
  "Treat VAL as a hideif number: if it's t or nil, use 1 or 0."
  (cond
   ((stringp val)
    (or (get-text-property 0 'hif-value val)
        val))
   ((eq val t) 1)
   ((null val) 0)
   (t val)))