From 5b8bcf48ed4d65ec026ac4bf1ee59cf3f225e70a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 23 Dec 1993 01:55:14 +0000 Subject: [PATCH] (Fbuffer_disable_undo): Make arg optional. --- src/buffer.c | 5 +++-- 1 file 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.") 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; { -- 2.39.5