]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove kerning escapes in woman mode
authorBrendan O'Dea <bod@debian.org>
Sat, 5 Feb 2022 06:51:03 +0000 (07:51 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 5 Feb 2022 06:51:03 +0000 (07:51 +0100)
* lisp/woman.el (woman-decode-region): Remove kerning escapes
(bug#53770).

Copyright-paperwork-exempt: yes

lisp/woman.el

index 2e0d9a9090ddac61e4cdf0a5b0f3cf6aeee2fc6e..e16785329a482532503d0687af307966e0602895 100644 (file)
@@ -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!!!!!