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
e4d03691
Commit
e4d03691
authored
Feb 25, 2002
by
Juanma Barranquero
Browse files
(save-match-data): Doc fix.
parent
1426742b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
lisp/ChangeLog
lisp/ChangeLog
+3
-1
lisp/subr.el
lisp/subr.el
+2
-1
No files found.
lisp/ChangeLog
View file @
e4d03691
...
...
@@ -5,6 +5,8 @@
2002-02-25 Juanma Barranquero <lektu@terra.es>
* subr.el (save-match-data): Doc fix.
* ielm.el (ielm-prompt): Allow customization; make it read-only.
2002-02-25 Kim F. Storm <storm@cua.dk>
...
...
@@ -18,7 +20,7 @@
(inferior-emacs-lisp-mode): Make it buffer-local.
(ielm-eval-input): Use it to preserve match-data between inputs.
2002-02-24 Juanma Barranquero <
jbarranquero@peoplecall.com
>
2002-02-24 Juanma Barranquero <
lektu@terra.es
>
* ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
...
...
lisp/subr.el
View file @
e4d03691
...
...
@@ -1452,7 +1452,8 @@ Value is what BODY returns."
;; We used to use an uninterned symbol; the compiler handles that properly
;; now, but it generates slower code.
(
defmacro
save-match-data
(
&rest
body
)
"Execute the BODY forms, restoring the global value of the match data."
"Execute the BODY forms, restoring the global value of the match data.
The value returned is the value of the last form in BODY."
;; It is better not to use backquote here,
;; because that makes a bootstrapping problem
;; if you need to recompile all the Lisp files using interpreted code.
...
...
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