summaryrefslogtreecommitdiff
path: root/lisp/woman.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-04-11 02:30:24 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-04-11 02:30:24 +0000
commit532a0f4c95ef7773e706044552b69bed77c7816b (patch)
tree1d6960dc6b56dec342dd7a2f23516b60984b1909 /lisp/woman.el
parentd1f4c56c1adfecd768aae00245448c1dfe3c493f (diff)
downloademacs-532a0f4c95ef7773e706044552b69bed77c7816b.tar.gz
(woman2-TH): Undo last change. Use string-equal instead of
string-match.
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 9f47329fd3b..72fa4574acf 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -3846,7 +3846,7 @@ v alters page foot left; m alters page head center.
(insert " -- ")
(woman-forward-arg 'unquote 'concat)
;; Delete repeated arguments:
- (if (string-match (regexp-quote (buffer-substring here (point)))
+ (if (string-equal (buffer-substring here (point))
(buffer-substring start here))
(delete-region here (point)))))
;; Embolden heading (point is at end of heading):