diff options
| author | Richard M. Stallman | 1997-09-12 22:14:24 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-09-12 22:14:24 +0000 |
| commit | 0aefe6ac88832e80ff6492b8fa1da644f998eb03 (patch) | |
| tree | fe19a3d0a066086133b80b6b25fd8ef2e9e8c7cf | |
| parent | 20eff79988aa227a0f89204fb59a364960199967 (diff) | |
| download | emacs-0aefe6ac88832e80ff6492b8fa1da644f998eb03.tar.gz emacs-0aefe6ac88832e80ff6492b8fa1da644f998eb03.zip | |
(elisp-eval-buffer): New arg FILENAME is ignored.
| -rw-r--r-- | lisp/emacs-lisp/eval-reg.el | 5 |
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." | |||
| 199 | (eval-region (point-min) (point-max) elisp-output)) | 199 | (eval-region (point-min) (point-max) elisp-output)) |
| 200 | 200 | ||
| 201 | 201 | ||
| 202 | (defun elisp-eval-buffer (&optional elisp-bufname elisp-printflag) | 202 | (defun elisp-eval-buffer (&optional elisp-bufname elisp-printflag filename) |
| 203 | "Execute BUFFER as Lisp code. Use current buffer if BUFFER is nil. | 203 | "Execute BUFFER as Lisp code. Use current buffer if BUFFER is nil. |
| 204 | Programs can pass argument PRINTFLAG which controls printing of | 204 | Programs can pass argument PRINTFLAG which controls printing of |
| 205 | output: nil means discard it; anything else is stream for print. | 205 | output: nil means discard it; anything else is stream for print. |
| 206 | 206 | ||
| 207 | The argument FILENAME is accepted and ignored, just to avoid | ||
| 208 | crashes. | ||
| 209 | |||
| 207 | This version calls `eval-region' on the whole buffer." | 210 | This version calls `eval-region' on the whole buffer." |
| 208 | (interactive) | 211 | (interactive) |
| 209 | (if (null elisp-bufname) | 212 | (if (null elisp-bufname) |