projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec4f272
)
Simplify regexp in last change to woman.el
author
Basil L. Contovounesios
<contovob@tcd.ie>
Tue, 20 Oct 2020 16:35:29 +0000
(17:35 +0100)
committer
Basil L. Contovounesios
<contovob@tcd.ie>
Tue, 20 Oct 2020 16:36:21 +0000
(17:36 +0100)
* lisp/woman.el (woman-decode-region): Use simpler character
alternative instead of alternation.
lisp/woman.el
patch
|
blob
|
history
diff --git
a/lisp/woman.el
b/lisp/woman.el
index 52f610b569f3b910f094e164527210147996fc1e..96ae7fe5794ded081c0fbb8724ed65c594fe28b0 100644
(file)
--- 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: