Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
99:2d83cbd90d8d | 100:4be1180a9e89 |
---|---|
1167 if (!NILP (notsogood)) | 1167 if (!NILP (notsogood)) |
1168 return notsogood; | 1168 return notsogood; |
1169 return Fget_buffer_create (QSscratch); | 1169 return Fget_buffer_create (QSscratch); |
1170 } | 1170 } |
1171 | 1171 |
1172 /* XEmacs change: Make this argument required because this is a dangerous | 1172 DEFUN ("buffer-disable-undo", Fbuffer_disable_undo, 0, 1, "", /* |
1173 function. */ | |
1174 DEFUN ("buffer-disable-undo", Fbuffer_disable_undo, 1, 1, "", /* | |
1175 Make BUFFER stop keeping undo information. | 1173 Make BUFFER stop keeping undo information. |
1176 Any undo records it already has are discarded. | 1174 Any undo records it already has are discarded. |
1175 No argument or nil as argument means do this for the current buffer. | |
1177 */ | 1176 */ |
1178 (buffer)) | 1177 (buffer)) |
1179 { | 1178 { |
1180 /* Allowing nil is an RMSism */ | 1179 /* Allowing nil is an RMSism */ |
1181 struct buffer *real_buf = decode_buffer (buffer, 1); | 1180 struct buffer *real_buf = decode_buffer (buffer, 1); |