summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/eval-reg.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-09-12 22:14:24 +0000
committerRichard M. Stallman <rms@gnu.org>1997-09-12 22:14:24 +0000
commit0aefe6ac88832e80ff6492b8fa1da644f998eb03 (patch)
treefe19a3d0a066086133b80b6b25fd8ef2e9e8c7cf /lisp/emacs-lisp/eval-reg.el
parent20eff79988aa227a0f89204fb59a364960199967 (diff)
downloademacs-0aefe6ac88832e80ff6492b8fa1da644f998eb03.tar.gz
emacs-0aefe6ac88832e80ff6492b8fa1da644f998eb03.tar.bz2
emacs-0aefe6ac88832e80ff6492b8fa1da644f998eb03.zip
(elisp-eval-buffer): New arg FILENAME is ignored.
Diffstat (limited to 'lisp/emacs-lisp/eval-reg.el')
-rw-r--r--lisp/emacs-lisp/eval-reg.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eval-reg.el b/lisp/emacs-lisp/eval-reg.el
index d97a4ea46de..a38acade8be 100644
--- a/lisp/emacs-lisp/eval-reg.el
+++ b/lisp/emacs-lisp/eval-reg.el
@@ -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)