Mercurial > hg > xemacs-beta
comparison src/buffer.c @ 167:85ec50267440 r20-3b10
Import from CVS: tag r20-3b10
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:45:46 +0200 |
parents | 0132846995bd |
children | 2d532a89d707 |
comparison
equal
deleted
inserted
replaced
166:7a77eb660975 | 167:85ec50267440 |
---|---|
992 else if (already && NILP (flag)) | 992 else if (already && NILP (flag)) |
993 unlock_file (fn); | 993 unlock_file (fn); |
994 unbind_to (count, Qnil); | 994 unbind_to (count, Qnil); |
995 } | 995 } |
996 } | 996 } |
997 #endif /* CLASH_DETECTION */ | 997 #endif /* CLASH_DETECTION */ |
998 | 998 |
999 /* This is often called when the buffer contents are altered but we | 999 /* This is often called when the buffer contents are altered but we |
1000 don't want to treat the changes that way (e.g. selective | 1000 don't want to treat the changes that way (e.g. selective |
1001 display). We still need to make sure redisplay realizes that the | 1001 display). We still need to make sure redisplay realizes that the |
1002 contents have potentially altered and it needs to do some | 1002 contents have potentially altered and it needs to do some |
1032 No argument or nil as argument means use current buffer as BUFFER. | 1032 No argument or nil as argument means use current buffer as BUFFER. |
1033 */ | 1033 */ |
1034 (buffer)) | 1034 (buffer)) |
1035 { | 1035 { |
1036 struct buffer *buf = decode_buffer (buffer, 0); | 1036 struct buffer *buf = decode_buffer (buffer, 0); |
1037 | 1037 |
1038 return make_int (BUF_MODIFF (buf)); | 1038 return make_int (BUF_MODIFF (buf)); |
1039 } | 1039 } |
1040 | 1040 |
1041 DEFUN ("rename-buffer", Frename_buffer, 1, 2, | 1041 DEFUN ("rename-buffer", Frename_buffer, 1, 2, |
1042 "sRename buffer (to new name): \nP", /* | 1042 "sRename buffer (to new name): \nP", /* |