Function: Man-view-header-file

Man-view-header-file is a byte-compiled function defined in man.el.gz.

Signature

(Man-view-header-file FILE)

Documentation

View a header file specified by FILE from Man-header-file-path.

Source Code

;; Defined in /usr/src/emacs/lisp/man.el.gz
;; Header file support
(defun Man-view-header-file (file)
  "View a header file specified by FILE from `Man-header-file-path'."
  (let ((path Man-header-file-path)
        complete-path)
    (while path
      (setq complete-path (expand-file-name file (car path))
            path (cdr path))
      (if (file-readable-p complete-path)
          (progn (view-file complete-path)
                 (setq path nil))
        (setq complete-path nil)))
    complete-path))