diff src/buffer.c @ 100:4be1180a9e89 r20-1b2

Import from CVS: tag r20-1b2
author cvs
date Mon, 13 Aug 2007 09:15:11 +0200
parents 0d2f883870bc
children 360340f9fd5f
line wrap: on
line diff
--- a/src/buffer.c	Mon Aug 13 09:13:58 2007 +0200
+++ b/src/buffer.c	Mon Aug 13 09:15:11 2007 +0200
@@ -1169,11 +1169,10 @@
   return Fget_buffer_create (QSscratch);
 }
 
-/* XEmacs change: Make this argument required because this is a dangerous
-   function. */
-DEFUN ("buffer-disable-undo", Fbuffer_disable_undo, 1, 1, "", /*
+DEFUN ("buffer-disable-undo", Fbuffer_disable_undo, 0, 1, "", /*
 Make BUFFER stop keeping undo information.
 Any undo records it already has are discarded.
+No argument or nil as argument means do this for the current buffer.
 */
        (buffer))
 {