emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r116320: * replace.el (replace-match-maybe-edit): Do


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] trunk r116320: * replace.el (replace-match-maybe-edit): Doc clarification.
Date: Sat, 08 Feb 2014 03:56:35 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116320
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15632
committer: Lars Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Fri 2014-02-07 19:55:27 -0800
message:
  * replace.el (replace-match-maybe-edit): Doc clarification.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/replace.el                replace.el-20091113204419-o5vbwnq5f7feedwu-119
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-02-08 03:37:57 +0000
+++ b/lisp/ChangeLog    2014-02-08 03:55:27 +0000
@@ -1,5 +1,8 @@
 2014-02-08  Lars Ingebrigtsen  <address@hidden>
 
+       * replace.el (replace-match-maybe-edit): Doc clarification
+       (bug#15632).
+
        * subr.el (add-to-list): Refill the paragraphs (bug#15791).
 
        * macros.el (insert-kbd-macro): Doc fix (bug#16025).

=== modified file 'lisp/replace.el'
--- a/lisp/replace.el   2014-01-01 07:43:34 +0000
+++ b/lisp/replace.el   2014-02-08 03:55:27 +0000
@@ -1891,9 +1891,11 @@
 
 (defun replace-match-maybe-edit (newtext fixedcase literal noedit match-data 
backward)
   "Make a replacement with `replace-match', editing `\\?'.
-NEWTEXT, FIXEDCASE, LITERAL are just passed on.  If NOEDIT is true, no
-check for `\\?' is made to save time.  MATCH-DATA is used for the
-replacement.  In case editing is done, it is changed to use markers.
+FIXEDCASE, LITERAL are passed to `replace-match' (which see).
+After possibly editing it (if `\\?' is present), NEWTEXT is also
+passed to `replace-match'.  If NOEDIT is true, no check for `\\?'
+is made (to save time).  MATCH-DATA is used for the replacement.
+In case editing is done, it is changed to use markers.
 
 The return value is non-nil if there has been no `\\?' or NOEDIT was
 passed in.  If LITERAL is set, no checking is done, anyway."


reply via email to

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