aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-12-23 01:55:14 +0000
committerRichard M. Stallman <[email protected]>1993-12-23 01:55:14 +0000
commit5b8bcf48ed4d65ec026ac4bf1ee59cf3f225e70a (patch)
treef529714402f41df0850922c9a6a6e4b7d937f720 /src/buffer.c
parentb8d584f66f3bb9ea9a0d3fadc697fcc44fff8f9f (diff)
(Fbuffer_disable_undo): Make arg optional.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 6b03e6d3e0..5db9521916 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -620,9 +620,10 @@ If BUFFER is omitted or nil, some interesting buffer is returned.")
return Fget_buffer_create (build_string ("*scratch*"));
}
-DEFUN ("buffer-disable-undo", Fbuffer_disable_undo, Sbuffer_disable_undo, 1,1,
+DEFUN ("buffer-disable-undo", Fbuffer_disable_undo, Sbuffer_disable_undo, 0, 1,
0,
- "Make BUFFER stop keeping undo information.")
+ "Make BUFFER stop keeping undo information.\n\
+No argument or nil as argument means do this for the current buffer.")
(buffer)
register Lisp_Object buffer;
{