(woman2-TH): Undo last change. Use string-equal instead of

string-match.
This commit is contained in:
Chong Yidong 2008-04-11 02:30:24 +00:00
parent d1f4c56c1a
commit 532a0f4c95

View file

@ -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):