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
0aefe6ac
Commit
0aefe6ac
authored
Sep 12, 1997
by
Richard M. Stallman
Browse files
(elisp-eval-buffer): New arg FILENAME is ignored.
parent
20eff799
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lisp/emacs-lisp/eval-reg.el
lisp/emacs-lisp/eval-reg.el
+4
-1
No files found.
lisp/emacs-lisp/eval-reg.el
View file @
0aefe6ac
...
...
@@ -199,11 +199,14 @@ This version calls `eval-region' on the whole buffer."
(
eval-region
(
point-min
)
(
point-max
)
elisp-output
))
(
defun
elisp-eval-buffer
(
&optional
elisp-bufname
elisp-printflag
)
(
defun
elisp-eval-buffer
(
&optional
elisp-bufname
elisp-printflag
filename
)
"Execute BUFFER as Lisp code. Use current buffer if BUFFER is nil.
Programs can pass argument PRINTFLAG which controls printing of
output: nil means discard it; anything else is stream for print.
The argument FILENAME is accepted and ignored, just to avoid
crashes.
This version calls `eval-region' on the whole buffer."
(
interactive
)
(
if
(
null
elisp-bufname
)
...
...
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