Function: woman0-ig

woman0-ig is a byte-compiled function defined in woman.el.gz.

Signature

(woman0-ig)

Documentation

.ig yy -- Discard input up to .yy, which defaults to ..).

Source Code

;; Defined in /usr/src/emacs/lisp/woman.el.gz
(defun woman0-ig ()
  ".ig yy -- Discard input up to `.yy', which defaults to `..')."
  ;; The terminal request MUST begin with . (not ')!
  (looking-at "\\(\\S +\\)?")
  (beginning-of-line)
  (let ((yy (or (match-string 1) "."))
	(from (point)))
    (if (re-search-forward
	 (concat "^\\.[ \t]*" (regexp-quote yy) ".*\n") nil t)
	(delete-region from (point))
      (WoMan-warn
       "ig request ignored -- terminator `.%s' not found!" yy)
      (woman-delete-line 1))))