Function: set-woman-file-regexp

set-woman-file-regexp is a byte-compiled function defined in woman.el.gz.

Signature

(set-woman-file-regexp SYMBOL VALUE)

Documentation

Bind SYMBOL to VALUE and set woman-file-regexp as per user customizations.

Used as :set cookie by Customize when customizing the user options woman-uncompressed-file-regexp and woman-file-compression-regexp.

Source Code

;; Defined in /usr/src/emacs/lisp/woman.el.gz
(defvar woman-file-compression-regexp)	; for the compiler

(defun set-woman-file-regexp (symbol value)
  "Bind SYMBOL to VALUE and set `woman-file-regexp' as per user customizations.
Used as :set cookie by Customize when customizing the user options
`woman-uncompressed-file-regexp' and `woman-file-compression-regexp'."
  (set-default symbol value)
  (and (boundp 'woman-uncompressed-file-regexp)
       (boundp 'woman-file-compression-regexp)
       (setq woman-file-regexp
	     (concat woman-uncompressed-file-regexp
		     "\\("
		     (substring woman-file-compression-regexp 0 -2)
		     "\\)?\\'"))))