Function: woman-tar-extract-file

woman-tar-extract-file is an interactive and byte-compiled function defined in woman.el.gz.

Signature

(woman-tar-extract-file)

Documentation

In tar mode, run the WoMan man-page browser on this file.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/woman.el.gz
(defvar global-font-lock-mode)  ; defined in font-core.el

(defun woman-tar-extract-file ()
  "In tar mode, run the WoMan man-page browser on this file."
  (interactive)
  (or (eq major-mode 'tar-mode)
      (error "`woman-tar-extract-file' can be used only in `tar-mode'"))
  (buffer-disable-undo)
  (let (global-font-lock-mode)
    (funcall (symbol-function 'tar-extract)) ; defined in tar-mode
    (let ((WoMan-current-file buffer-file-name)) ; used for message logging
      (rename-buffer
       (woman-make-bufname (file-name-nondirectory buffer-file-name)))
      (woman-process-buffer)
      (goto-char (point-min)))))