Mercurial > emacs
comparison src/buffer.c @ 5247:0cf95629f6c4
(Fbuffer_disable_undo): Make arg optional.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Thu, 23 Dec 1993 01:55:14 +0000 |
| parents | 8deb7113bbdf |
| children | 7ac1e6f1565f |
comparison
equal
deleted
inserted
replaced
| 5246:bec1126c6c00 | 5247:0cf95629f6c4 |
|---|---|
| 618 if (!NILP (notsogood)) | 618 if (!NILP (notsogood)) |
| 619 return notsogood; | 619 return notsogood; |
| 620 return Fget_buffer_create (build_string ("*scratch*")); | 620 return Fget_buffer_create (build_string ("*scratch*")); |
| 621 } | 621 } |
| 622 | 622 |
| 623 DEFUN ("buffer-disable-undo", Fbuffer_disable_undo, Sbuffer_disable_undo, 1,1, | 623 DEFUN ("buffer-disable-undo", Fbuffer_disable_undo, Sbuffer_disable_undo, 0, 1, |
| 624 0, | 624 0, |
| 625 "Make BUFFER stop keeping undo information.") | 625 "Make BUFFER stop keeping undo information.\n\ |
| 626 No argument or nil as argument means do this for the current buffer.") | |
| 626 (buffer) | 627 (buffer) |
| 627 register Lisp_Object buffer; | 628 register Lisp_Object buffer; |
| 628 { | 629 { |
| 629 Lisp_Object real_buffer; | 630 Lisp_Object real_buffer; |
| 630 | 631 |
