changeset 19893:14e5e43d8626

(elisp-eval-buffer): New arg FILENAME is ignored.
author Richard M. Stallman <rms@gnu.org>
date Fri, 12 Sep 1997 22:14:24 +0000
parents b3d4cde6e4c3
children 4bcb67851128
files lisp/emacs-lisp/eval-reg.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/eval-reg.el	Fri Sep 12 22:08:16 1997 +0000
+++ b/lisp/emacs-lisp/eval-reg.el	Fri Sep 12 22:14:24 1997 +0000
@@ -199,11 +199,14 @@
   (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)