diff lisp/woman.el @ 93988:564007cfcf46

(woman2-TH): Undo last change. Use string-equal instead of string-match.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 11 Apr 2008 02:30:24 +0000
parents e20062ee80fe
children ee5932bf781d
line wrap: on
line diff
--- a/lisp/woman.el	Fri Apr 11 02:30:06 2008 +0000
+++ b/lisp/woman.el	Fri Apr 11 02:30:24 2008 +0000
@@ -3846,7 +3846,7 @@
       (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):