summaryrefslogtreecommitdiff
path: root/lisp/woman.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-01-01 11:35:17 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2019-01-01 11:35:42 -0800
commit504457673dabfa89cb2eac89f093f10736c52ca7 (patch)
tree1e198e036dcf529bf1c14b8c16934594581050a4 /lisp/woman.el
parent227343947f083e1094ebd3770f774b480beb2590 (diff)
downloademacs-504457673dabfa89cb2eac89f093f10736c52ca7.tar.gz
Fix woman.el to not confuse scan-sexps
* lisp/woman.el (woman-unpadded-space-char): Escape the close-bracket (Bug#33940).
Diffstat (limited to 'lisp/woman.el')
-rw-r--r--lisp/woman.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/woman.el b/lisp/woman.el
index 13aea5d91c1..9548fdc6b3a 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -2078,7 +2078,7 @@ alist in `woman-buffer-alist' and return nil."
(char-to-string woman-escaped-escape-char)
"Internal string representation of escaped escape characters.")
-(defconst woman-unpadded-space-char ?\^]
+(defconst woman-unpadded-space-char ?\^\]
;; An arbitrary unused control character
"Internal character representation of unpadded space characters.")
(defconst woman-unpadded-space-string