Function: woman-set-file-regexp
woman-set-file-regexp is a byte-compiled function defined in
woman.el.gz.
Signature
(woman-set-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.
Aliases
set-woman-file-regexp (obsolete since 29.1)
Source Code
;; Defined in /usr/src/emacs/lisp/woman.el.gz
(defvar woman-file-compression-regexp) ; for the compiler
(defun woman-set-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)
"\\)?\\'"))))