Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f7a17bb3
Commit
f7a17bb3
authored
Feb 07, 2014
by
Lars Ingebrigtsen
Browse files
* replace.el (replace-match-maybe-edit): Doc clarification.
Fixes: debbugs:15632
parent
fff711ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/replace.el
lisp/replace.el
+5
-3
No files found.
lisp/ChangeLog
View file @
f7a17bb3
2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
* 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).
...
...
lisp/replace.el
View file @
f7a17bb3
...
...
@@ -1891,9 +1891,11 @@ but coerced to the correct value of INTEGERS."
(
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."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment