]> git.eshelyaron.com Git - emacs.git/commitdiff
(woman2-TH): Undo last change. Use string-equal instead of
authorChong Yidong <cyd@stupidchicken.com>
Fri, 11 Apr 2008 02:30:24 +0000 (02:30 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 11 Apr 2008 02:30:24 +0000 (02:30 +0000)
string-match.

lisp/woman.el

index 9f47329fd3ba8b10497e5eb2bc3ef5b9621d2915..72fa4574acfc009b3b65e59f7848249206bfc90e 100644 (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):