From: Basil L. Contovounesios Date: Tue, 20 Oct 2020 16:35:29 +0000 (+0100) Subject: Simplify regexp in last change to woman.el X-Git-Tag: emacs-28.0.90~5520 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1841b13282473b0ed8c591974e89bd781026180d;p=emacs.git Simplify regexp in last change to woman.el * lisp/woman.el (woman-decode-region): Use simpler character alternative instead of alternation. --- diff --git a/lisp/woman.el b/lisp/woman.el index 52f610b569f..96ae7fe5794 100644 --- a/lisp/woman.el +++ b/lisp/woman.el @@ -2292,7 +2292,7 @@ Currently set only from \\='\\\" t in the first line of the source file.") ;; Ignore the \, and \/ kerning operators. See ;; https://www.gnu.org/software/groff/manual/groff.html#Ligatures-and-Kerning (goto-char (point-min)) - (while (re-search-forward "\\\\,\\|\\\\/" nil t) + (while (re-search-forward "\\\\[,/]" nil t) (replace-match "" t t)) ;; Hide unpaddable and digit-width spaces \(space) and \0: