diff options
| author | Richard M. Stallman | 1993-12-23 01:55:14 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-12-23 01:55:14 +0000 |
| commit | 5b8bcf48ed4d65ec026ac4bf1ee59cf3f225e70a (patch) | |
| tree | f529714402f41df0850922c9a6a6e4b7d937f720 /src/buffer.c | |
| parent | b8d584f66f3bb9ea9a0d3fadc697fcc44fff8f9f (diff) | |
| download | emacs-5b8bcf48ed4d65ec026ac4bf1ee59cf3f225e70a.tar.gz emacs-5b8bcf48ed4d65ec026ac4bf1ee59cf3f225e70a.zip | |
(Fbuffer_disable_undo): Make arg optional.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c index 6b03e6d3e0c..5db9521916d 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -620,9 +620,10 @@ If BUFFER is omitted or nil, some interesting buffer is returned.") | |||
| 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 | { |