emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/woman.el,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/woman.el,v
Date: Fri, 11 Apr 2008 02:24:15 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/04/11 02:24:15

Index: woman.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/woman.el,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -b -r1.68 -r1.69
--- woman.el    8 Feb 2008 20:43:50 -0000       1.68
+++ woman.el    11 Apr 2008 02:24:15 -0000      1.69
@@ -3846,10 +3846,9 @@
       (insert " -- ")
       (woman-forward-arg 'unquote 'concat)
       ;; Delete repeated arguments:
-      (if (string-match (buffer-substring here (point))
+      (if (string-match (regexp-quote (buffer-substring here (point)))
                        (buffer-substring start here))
-         (delete-region here (point)))
-      ))
+         (delete-region here (point)))))
   ;; Embolden heading (point is at end of heading):
   (woman-set-face
    (save-excursion (beginning-of-line) (point)) (point) 'woman-bold)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]