Variable: woman-file-compression-regexp

woman-file-compression-regexp is a customizable variable defined in woman.el.gz.

Value

"\\.\\(g?z\\|bz2\\|xz\\)\\'"

Documentation

Do not change this unless you are sure you know what you are doing! Regexp used to match compressed man file extensions for which decompressors are available and handled by auto-compression mode, e.g. "\\\\.\\\\(g?z\\\\|bz2\\\\|xz\\\\)\\\\\\='" for gzip, bzip2, or xz. Should begin with \. and end with \' and MUST NOT be optional.

This variable was added, or its default value changed, in Emacs 24.1.

Source Code

;; Defined in /usr/src/emacs/lisp/woman.el.gz
(defcustom woman-file-compression-regexp
  "\\.\\(g?z\\|bz2\\|xz\\)\\'"
  "Do not change this unless you are sure you know what you are doing!
Regexp used to match compressed man file extensions for which
decompressors are available and handled by auto-compression mode,
e.g. \"\\\\.\\\\(g?z\\\\|bz2\\\\|xz\\\\)\\\\\\='\" for `gzip', `bzip2', or `xz'.
Should begin with \\. and end with \\\\=' and MUST NOT be optional."
  ;; Should be compatible with car of
  ;; `jka-compr-file-name-handler-entry', but that is unduly
  ;; complicated, includes an inappropriate extension (.tgz) and is
  ;; not loaded by default!
  :version "24.1"                       ; added xz
  :type 'regexp
  :set #'set-woman-file-regexp
  :group 'woman-interface)