aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorJim Blandy1992-02-15 22:18:37 +0000
committerJim Blandy1992-02-15 22:18:37 +0000
commit36a8c287a8731587bec4810565df541176b86ce5 (patch)
treef2b6665281767ad92fe76ec8b30a6b062cd9f909 /src/buffer.c
parent35e46c62b9fa31f0b3ed4b237c9d92f3020af52e (diff)
downloademacs-36a8c287a8731587bec4810565df541176b86ce5.tar.gz
emacs-36a8c287a8731587bec4810565df541176b86ce5.zip
*** empty log message ***
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c12
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'.")
715 return Qt; 715 return Qt;
716} 716}
717 717
718/* Put the element for buffer BUF at the front of buffer-alist. 718/* Move the assoc for buffer BUF to the front of buffer-alist. Since
719 This is done when a buffer is selected "visibly". 719 we do this each time BUF is selected visibly, the more recently
720 It keeps buffer-alist in the order of recency of selection 720 selected buffers are always closer to the front of the list. This
721 so that other_buffer will return something nice. */ 721 means that other_buffer is more likely to choose a relevant buffer. */
722 722
723record_buffer (buf) 723record_buffer (buf)
724 Lisp_Object buf; 724 Lisp_Object buf;
@@ -733,8 +733,8 @@ record_buffer (buf)
733 prev = link; 733 prev = link;
734 } 734 }
735 735
736 /* Effectively do Vbuffer_alist = Fdelq (link, Vbuffer_alist) 736 /* Effectively do Vbuffer_alist = Fdelq (link, Vbuffer_alist);
737 but cannot use Fdelq here it that allows quitting. */ 737 we cannot use Fdelq itself here because it allows quitting. */
738 738
739 if (NILP (prev)) 739 if (NILP (prev))
740 Vbuffer_alist = XCONS (Vbuffer_alist)->cdr; 740 Vbuffer_alist = XCONS (Vbuffer_alist)->cdr;