summaryrefslogtreecommitdiff
path: root/lisp/woman.el
diff options
context:
space:
mode:
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 9c73a365b61..ffa0ea692ad 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -3327,7 +3327,7 @@ If optional arg CONCAT is non-nil then join arguments."
;; otherwise match woman-request-regexp. The "\\&" which is
;; inserted to prevent this is removed by woman2-process-escapes.
(and fescape
- (looking-at "^\\.")
+ (looking-at woman-request-regexp)
(insert "\\&"))
(woman-set-face previous-pos (point) current-font)
(if beg