diff options
| author | Jim Blandy <jimb@redhat.com> | 1992-02-15 22:18:37 +0000 |
|---|---|---|
| committer | Jim Blandy <jimb@redhat.com> | 1992-02-15 22:18:37 +0000 |
| commit | 36a8c287a8731587bec4810565df541176b86ce5 (patch) | |
| tree | f2b6665281767ad92fe76ec8b30a6b062cd9f909 /src/buffer.c | |
| parent | 35e46c62b9fa31f0b3ed4b237c9d92f3020af52e (diff) | |
| download | emacs-36a8c287a8731587bec4810565df541176b86ce5.tar.gz | |
*** empty log message ***
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/buffer.c b/src/buffer.c index 55d85f979ba..bbf0e297302 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -715,10 +715,10 @@ with `delete-process'.") return Qt; } -/* Put the element for buffer BUF at the front of buffer-alist. - This is done when a buffer is selected "visibly". - It keeps buffer-alist in the order of recency of selection - so that other_buffer will return something nice. */ +/* Move the assoc for buffer BUF to the front of buffer-alist. Since + we do this each time BUF is selected visibly, the more recently + selected buffers are always closer to the front of the list. This + means that other_buffer is more likely to choose a relevant buffer. */ record_buffer (buf) Lisp_Object buf; @@ -733,8 +733,8 @@ record_buffer (buf) prev = link; } - /* Effectively do Vbuffer_alist = Fdelq (link, Vbuffer_alist) - but cannot use Fdelq here it that allows quitting. */ + /* Effectively do Vbuffer_alist = Fdelq (link, Vbuffer_alist); + we cannot use Fdelq itself here because it allows quitting. */ if (NILP (prev)) Vbuffer_alist = XCONS (Vbuffer_alist)->cdr; |
