From xemacs-m  Wed Feb 19 06:06:18 1997
Received: from elc1.dina.kvl.dk (elc1.dina.kvl.dk [130.225.40.228])
	by xemacs.org (8.8.5/8.8.5) with SMTP id GAA01621
	for <xemacs-beta@xemacs.org>; Wed, 19 Feb 1997 06:06:16 -0600 (CST)
Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by elc1.dina.kvl.dk (8.6.12/8.6.4) with ESMTP id MAA02164; Wed, 19 Feb 1997 12:55:50 +0100
Received: (abraham@localhost) by zuse.dina.kvl.dk (8.6.12/8.6.4) id NAA05776; Wed, 19 Feb 1997 13:04:28 +0100
Sender: abraham@dina.kvl.dk
To: xemacs-beta@xemacs.org
Subject: XEmacs 20.0: Patch: buffer-disable-undo
Organization: The Church of Emacs
X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM<U{B+4e{k79.Ya{~':DblFPCg$
 @60,BfLv2@SKZ19cMWK0/C'v;tM:|6B'R}U1rp6CL&kN({9<zF/V{:JCg27yC)9oZjeqcQawzKfiNL
 t9}`vjmK["dRQC/qGFQq"%u|Q`:6{"Rz}b(dnl_"3$Jtqimi>|8MBp/
From: Per Abrahamsen <abraham@dina.kvl.dk>
Date: 19 Feb 1997 13:04:27 +0100
Message-ID: <rjhgj9dmt0.fsf@zuse.dina.kvl.dk>
Lines: 37
X-Mailer: Gnus v5.4.13/Emacs 19.34
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


This fixes one of the most common elisp incompatibilities with GNU Emacs.

Wed Feb 19 12:54:32 1997  Per Abrahamsen  <abraham@dina.kvl.dk>

	* buffer.c (Fbuffer_disable_undo): Default to current buffer.

cd /pack/xemacs/src/xemacs-20.0/src/
diff -c buffer.c.old buffer.c
*** buffer.c.old	Thu Jan 23 06:30:04 1997
--- buffer.c	Wed Feb 19 12:54:03 1997
***************
*** 1169,1179 ****
    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, "", /*
  Make BUFFER stop keeping undo information.
  Any undo records it already has are discarded.
  */
         (buffer))
  {
--- 1169,1178 ----
    return Fget_buffer_create (QSscratch);
  }
  
! 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))
  {

Compilation exited abnormally with code 1 at Wed Feb 19 12:56:32

