diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2020-10-20 17:35:29 +0100 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2020-10-20 17:36:21 +0100 |
commit | 1841b13282473b0ed8c591974e89bd781026180d (patch) | |
tree | ccd3c778a3eeb00b8a27218563e99c87adb2ef73 /lisp/woman.el | |
parent | ec4f2723c13321f2abe6aa57035146d80b640db6 (diff) | |
download | emacs-1841b13282473b0ed8c591974e89bd781026180d.tar.gz |
Simplify regexp in last change to woman.el
* lisp/woman.el (woman-decode-region): Use simpler character
alternative instead of alternation.
Diffstat (limited to 'lisp/woman.el')
-rw-r--r-- | lisp/woman.el | 2 |
1 files changed, 1 insertions, 1 deletions
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: |