From: Brendan O'Dea <bod@debian.org>
Date: Sat, 5 Feb 2022 06:51:03 +0000 (+0100)
Subject: Remove kerning escapes in woman mode
X-Git-Tag: emacs-29.0.90~2515
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a8de2e20e093bb45231327e824ceb8421993634e;p=emacs.git

Remove kerning escapes in woman mode

* lisp/woman.el (woman-decode-region): Remove kerning escapes
(bug#53770).

Copyright-paperwork-exempt: yes
---

diff --git a/lisp/woman.el b/lisp/woman.el
index 2e0d9a9090d..e16785329a4 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -2280,9 +2280,9 @@ Currently set only from \\='\\\" t in the first line of the source file.")
       (replace-match woman-unpadded-space-string t t))
 
     ;; Discard optional hyphen \%; concealed newlines \<newline>;
-    ;; point-size change function \sN,\s+N, \s-N:
+    ;; kerning \/, \,; point-size change function \sN,\s+N, \s-N:
     (goto-char from)
-    (while (re-search-forward "\\\\\\([%\n]\\|s[-+]?[0-9]+\\)" nil t)
+    (while (re-search-forward "\\\\\\([%\n/,]\\|s[-+]?[0-9]+\\)" nil t)
       (woman-delete-match 0))
 
     ;; BEWARE: THIS SHOULD PROBABLY ALL BE DONE MUCH LATER!!!!!