Function: woman-process-buffer

woman-process-buffer is an interactive and byte-compiled function defined in woman.el.gz.

Signature

(woman-process-buffer)

Documentation

The second half of woman-really-find-file!

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/woman.el.gz
(defun woman-process-buffer ()
  "The second half of `woman-really-find-file'!"
  (interactive)
  ;; Check (crudely) that this really is likely to be in UN*X
  ;; man-page source format, assuming we are at point-min:
  (goto-char (point-min))
  (if (re-search-forward "^[.']" 1000 t)
      (woman-decode-buffer)
    (message
     "File appears to be pre-formatted -- using source file may be better.")
    (woman-man-buffer))
  (woman-mode))