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
2bb65966
Commit
2bb65966
authored
Nov 06, 2001
by
Richard M. Stallman
Browse files
(eval-last-sexp-1): Return the value of the evaluated form.
parent
f4bb9409
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
lisp/emacs-lisp/lisp-mode.el
lisp/emacs-lisp/lisp-mode.el
+12
-11
No files found.
lisp/emacs-lisp/lisp-mode.el
View file @
2bb65966
...
...
@@ -482,6 +482,7 @@ With argument, print output into current buffer."
(
print-level
eval-expression-print-level
)
(
beg
(
point
))
end
)
(
prog1
(
prin1
value
)
(
setq
end
(
point
))
(
when
(
and
(
bufferp
standard-output
)
...
...
@@ -492,7 +493,7 @@ With argument, print output into current buffer."
(
last-sexp-setup-props
beg
end
value
unabbreviated
(
buffer-substring-no-properties
beg
end
))
)))))
)
)))))
(
defun
eval-last-sexp
(
eval-last-sexp-arg-internal
)
...
...
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