diff options
| author | Paul Eggert | 2012-07-19 15:35:58 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-07-19 15:35:58 -0700 |
| commit | 52b852c77d74800aaa1338dc72f786f7e261bfee (patch) | |
| tree | f2d4a83567f37b1fa9a70d719565c2dc7afc9d06 /src/alloc.c | |
| parent | 8a4e6db81ae0c04a73693718cb8aaa59e160663f (diff) | |
| download | emacs-52b852c77d74800aaa1338dc72f786f7e261bfee.tar.gz emacs-52b852c77d74800aaa1338dc72f786f7e261bfee.zip | |
* buffer.h (FOR_EACH_BUFFER): Rename from 'for_each_buffer'.
(FOR_EACH_PER_BUFFER_OBJECT_AT): Rename from
'for_each_per_buffer_object_at'.
All uses changed. It's better to use upper-case for macros that
cannot be implemented as functions, to give the reader a clue
that they're special.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/alloc.c b/src/alloc.c index d24787576e9..7158b45a340 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -5412,7 +5412,7 @@ See Info node `(elisp)Garbage Collection'. */) | |||
| 5412 | 5412 | ||
| 5413 | /* Don't keep undo information around forever. | 5413 | /* Don't keep undo information around forever. |
| 5414 | Do this early on, so it is no problem if the user quits. */ | 5414 | Do this early on, so it is no problem if the user quits. */ |
| 5415 | for_each_buffer (nextb) | 5415 | FOR_EACH_BUFFER (nextb) |
| 5416 | compact_buffer (nextb); | 5416 | compact_buffer (nextb); |
| 5417 | 5417 | ||
| 5418 | t1 = current_emacs_time (); | 5418 | t1 = current_emacs_time (); |
| @@ -5527,7 +5527,7 @@ See Info node `(elisp)Garbage Collection'. */) | |||
| 5527 | Look thru every buffer's undo list | 5527 | Look thru every buffer's undo list |
| 5528 | for elements that update markers that were not marked, | 5528 | for elements that update markers that were not marked, |
| 5529 | and delete them. */ | 5529 | and delete them. */ |
| 5530 | for_each_buffer (nextb) | 5530 | FOR_EACH_BUFFER (nextb) |
| 5531 | { | 5531 | { |
| 5532 | /* If a buffer's undo list is Qt, that means that undo is | 5532 | /* If a buffer's undo list is Qt, that means that undo is |
| 5533 | turned off in that buffer. Calling truncate_undo_list on | 5533 | turned off in that buffer. Calling truncate_undo_list on |
| @@ -5955,7 +5955,7 @@ mark_object (Lisp_Object arg) | |||
| 5955 | if (po != &buffer_defaults && po != &buffer_local_symbols) | 5955 | if (po != &buffer_defaults && po != &buffer_local_symbols) |
| 5956 | { | 5956 | { |
| 5957 | struct buffer *b; | 5957 | struct buffer *b; |
| 5958 | for_each_buffer (b) | 5958 | FOR_EACH_BUFFER (b) |
| 5959 | if (b == po) | 5959 | if (b == po) |
| 5960 | break; | 5960 | break; |
| 5961 | if (b == NULL) | 5961 | if (b == NULL) |