Mercurial > emacs
comparison src/buffer.c @ 46016:3ba98b59cb49
(Fbury_buffer): Use frames_discard_buffer.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Wed, 26 Jun 2002 08:35:14 +0000 |
| parents | 9e40bb8e9a60 |
| children | ca604a52d267 |
comparison
equal
deleted
inserted
replaced
| 46015:3988483dc2b7 | 46016:3ba98b59cb49 |
|---|---|
| 1930 link = Fmemq (aelt, Vbuffer_alist); | 1930 link = Fmemq (aelt, Vbuffer_alist); |
| 1931 Vbuffer_alist = Fdelq (aelt, Vbuffer_alist); | 1931 Vbuffer_alist = Fdelq (aelt, Vbuffer_alist); |
| 1932 XSETCDR (link, Qnil); | 1932 XSETCDR (link, Qnil); |
| 1933 Vbuffer_alist = nconc2 (Vbuffer_alist, link); | 1933 Vbuffer_alist = nconc2 (Vbuffer_alist, link); |
| 1934 | 1934 |
| 1935 frames_bury_buffer (buffer); | 1935 /* Removing BUFFER from frame-specific lists |
| 1936 has the effect of putting BUFFER at the end | |
| 1937 of the combined list in each frame. */ | |
| 1938 frames_discard_buffer (buffer); | |
| 1936 } | 1939 } |
| 1937 | 1940 |
| 1938 return Qnil; | 1941 return Qnil; |
| 1939 } | 1942 } |
| 1940 | 1943 |
