Mercurial > emacs
changeset 80496:187891075439
(woman2-TH): Undo last change. Use string-equal instead of
string-match.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 11 Apr 2008 02:31:43 +0000 |
parents | cfc9673219ec |
children | c6bdc935d2d0 |
files | lisp/woman.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/woman.el Fri Apr 11 02:31:26 2008 +0000 +++ b/lisp/woman.el Fri Apr 11 02:31:43 2008 +0000 @@ -3810,8 +3810,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):