Mercurial > hg > xemacs-beta
comparison src/buffer.c @ 24:4103f0995bd7 r19-15b95
Import from CVS: tag r19-15b95
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:51:03 +0200 |
parents | 859a2309aef8 |
children | e04119814345 |
comparison
equal
deleted
inserted
replaced
23:0edd3412f124 | 24:4103f0995bd7 |
---|---|
1161 if (!NILP (notsogood)) | 1161 if (!NILP (notsogood)) |
1162 return notsogood; | 1162 return notsogood; |
1163 return Fget_buffer_create (QSscratch); | 1163 return Fget_buffer_create (QSscratch); |
1164 } | 1164 } |
1165 | 1165 |
1166 /* XEmacs change: Make this argument required because this is a dangerous | 1166 DEFUN ("buffer-disable-undo", Fbuffer_disable_undo, 0, 1, "", /* |
1167 function. */ | |
1168 DEFUN ("buffer-disable-undo", Fbuffer_disable_undo, 1, 1, "", /* | |
1169 Make BUFFER stop keeping undo information. | 1167 Make BUFFER stop keeping undo information. |
1170 Any undo records it already has are discarded. | 1168 Any undo records it already has are discarded. |
1169 No argument or nil as argument means do this for the current buffer. | |
1171 */ | 1170 */ |
1172 (buffer)) | 1171 (buffer)) |
1173 { | 1172 { |
1174 /* Allowing nil is an RMSism */ | 1173 /* Allowing nil is an RMSism */ |
1175 struct buffer *real_buf = decode_buffer (buffer, 1); | 1174 struct buffer *real_buf = decode_buffer (buffer, 1); |