diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/lread.c b/src/lread.c index e4ba5229e20..8a4b96874ce 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -1803,18 +1803,16 @@ readevalloop (readcharfun, stream, sourcename, evalfun, | |||
| 1803 | 1803 | ||
| 1804 | DEFUN ("eval-buffer", Feval_buffer, Seval_buffer, 0, 5, "", | 1804 | DEFUN ("eval-buffer", Feval_buffer, Seval_buffer, 0, 5, "", |
| 1805 | doc: /* Execute the current buffer as Lisp code. | 1805 | doc: /* Execute the current buffer as Lisp code. |
| 1806 | Programs can pass two arguments, BUFFER and PRINTFLAG. | 1806 | When called from a Lisp program (i.e., not interactively), this |
| 1807 | function accepts up to five optional arguments: | ||
| 1807 | BUFFER is the buffer to evaluate (nil means use current buffer). | 1808 | BUFFER is the buffer to evaluate (nil means use current buffer). |
| 1808 | PRINTFLAG controls printing of output: | 1809 | PRINTFLAG controls printing of output: |
| 1809 | A value of nil means discard it; anything else is stream for print. | 1810 | A value of nil means discard it; anything else is stream for print. |
| 1810 | 1811 | FILENAME specifies the file name to use for `load-history'. | |
| 1811 | If the optional third argument FILENAME is non-nil, | 1812 | UNIBYTE, if non-nil, specifies `load-convert-to-unibyte' for this |
| 1812 | it specifies the file name to use for `load-history'. | 1813 | invocation. |
| 1813 | The optional fourth argument UNIBYTE specifies `load-convert-to-unibyte' | 1814 | DO-ALLOW-PRINT, if non-nil, specifies that `print' and related |
| 1814 | for this invocation. | 1815 | functions should work normally even if PRINTFLAG is nil. |
| 1815 | |||
| 1816 | The optional fifth argument DO-ALLOW-PRINT, if non-nil, specifies that | ||
| 1817 | `print' and related functions should work normally even if PRINTFLAG is nil. | ||
| 1818 | 1816 | ||
| 1819 | This function preserves the position of point. */) | 1817 | This function preserves the position of point. */) |
| 1820 | (buffer, printflag, filename, unibyte, do_allow_print) | 1818 | (buffer, printflag, filename, unibyte, do_allow_print) |