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 [EMACS_22_BASE]


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

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Chong Yidong <cyd>      08/04/11 02:27:28

Index: woman.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/woman.el,v
retrieving revision 1.58.2.3
retrieving revision 1.58.2.4
diff -u -b -r1.58.2.3 -r1.58.2.4
--- woman.el    12 Jan 2008 23:20:54 -0000      1.58.2.3
+++ woman.el    11 Apr 2008 02:27:28 -0000      1.58.2.4
@@ -3810,10 +3810,10 @@
       (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]