Commit bee50664 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Make woman ignore the new groff kerning operators

* lisp/woman.el (woman-decode-region): Ignore the new groff
kerning operators (bug#42219).
parent ea47bcc4
Pipeline #7387 passed with stage
in 67 minutes and 16 seconds
......@@ -2289,6 +2289,12 @@ Currently set only from \\='\\\" t in the first line of the source file.")
(setq fill-column woman-fill-column
tab-width woman-tab-width)
;; Ignore the \, and \/ kerning operators. See
(goto-char (point-min))
(while (re-search-forward "\\\\,\\|\\\\/" nil t)
(replace-match "" t t))
;; Hide unpaddable and digit-width spaces \(space) and \0:
(goto-char from)
(while (re-search-forward "\\\\[ 0]" nil t)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment