From: Richard M. Stallman Date: Thu, 23 Dec 1993 01:55:14 +0000 (+0000) Subject: (Fbuffer_disable_undo): Make arg optional. X-Git-Tag: emacs-19.34~10604 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5b8bcf48ed4d65ec026ac4bf1ee59cf3f225e70a;p=emacs.git (Fbuffer_disable_undo): Make arg optional. --- 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; {