Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
33c2d29f
Commit
33c2d29f
authored
Oct 21, 2001
by
Miles Bader
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fsave_excursion, Fsave_current_buffer)
(Fsave_restriction): Add usage: string to doc string.
parent
512ca171
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/editfns.c
src/editfns.c
+8
-3
No files found.
src/editfns.c
View file @
33c2d29f
...
...
@@ -900,7 +900,9 @@ The state of activation of the mark is also restored.
This construct does not save `deactivate-mark', and therefore
functions that change the buffer will still cause deactivation
of the mark at the end of the command. To prevent that, bind
`deactivate-mark' with `let'. */
)
`deactivate-mark' with `let'.
usage: (save-excursion &rest BODY) */
)
(
args
)
Lisp_Object
args
;
{
...
...
@@ -915,7 +917,8 @@ of the mark at the end of the command. To prevent that, bind
DEFUN
(
"save-current-buffer"
,
Fsave_current_buffer
,
Ssave_current_buffer
,
0
,
UNEVALLED
,
0
,
doc
:
/* Save the current buffer; execute BODY; restore the current buffer.
Executes BODY just like `progn'. */
)
Executes BODY just like `progn'.
usage: (save-current-buffer &rest BODY) */
)
(
args
)
Lisp_Object
args
;
{
...
...
@@ -2938,7 +2941,9 @@ The value returned is the value of the last form in BODY.
Note: if you are using both `save-excursion' and `save-restriction',
use `save-excursion' outermost:
(save-excursion (save-restriction ...)) */
)
(save-excursion (save-restriction ...))
usage: (save-restriction &rest BODY) */
)
(
body
)
Lisp_Object
body
;
{
...
...
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