Mercurial > emacs
changeset 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 | 01a6307d740c |
children | 9bbb41788fd4 |
files | lisp/woman.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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):