Mercurial > emacs
changeset 40840:2b65fb0dbd2d
(Fbury_buffer): Use braces to follow GNU Coding Standards.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Fri, 09 Nov 2001 06:48:33 +0000 |
parents | 00c461da45ee |
children | 9cdb3902caf5 |
files | src/buffer.c |
diffstat | 1 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.c Fri Nov 09 06:47:21 2001 +0000 +++ b/src/buffer.c Fri Nov 09 06:48:33 2001 +0000 @@ -1900,12 +1900,14 @@ tem = Fwindow_buffer (selected_window); /* If we're burying the current buffer, unshow it. */ if (EQ (buffer, tem)) - if (NILP (Fwindow_dedicated_p (selected_window))) - Fswitch_to_buffer (Fother_buffer (buffer, Qnil, Qnil), Qnil); - else if (NILP (XWINDOW (selected_window)->parent)) - Ficonify_frame (Fwindow_frame (selected_window)); - else - Fdelete_window (selected_window); + { + if (NILP (Fwindow_dedicated_p (selected_window))) + Fswitch_to_buffer (Fother_buffer (buffer, Qnil, Qnil), Qnil); + else if (NILP (XWINDOW (selected_window)->parent)) + Ficonify_frame (Fwindow_frame (selected_window)); + else + Fdelete_window (selected_window); + } } else {