From: Pavel Janík Date: Fri, 9 Nov 2001 06:49:41 +0000 (+0000) Subject: (Fbury_buffer): Use braces to follow GNU Coding Standards. X-Git-Tag: ttn-vms-21-2-B4~18734 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a78e0303c9ff9a8a39700d9de91e54b9478a84af;p=emacs.git (Fbury_buffer): Use braces to follow GNU Coding Standards. --- diff --git a/src/ChangeLog b/src/ChangeLog index c0f15df7fb3..5cee3a4b94b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -4,6 +4,8 @@ Coding Standards. (Finternal_set_lisp_face_attribute): Likewise. + * buffer.c (Fbury_buffer): Likewise. + * indent.c (current_column_1): Remove unused variable `prev_col'. 2001-11-07 Jason Rumney diff --git a/src/buffer.c b/src/buffer.c index 2f320f5bb85..706410a2ed0 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1900,12 +1900,14 @@ selected window if it is displayed there. */) 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 {