]> git.eshelyaron.com Git - emacs.git/commit
Minor style tweaks for recent tab changes
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 4 Oct 2019 19:30:28 +0000 (12:30 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 4 Oct 2019 19:31:17 +0000 (12:31 -0700)
commit81c7f3afb34c28972d80c7d45a47903571f2b59d
tree82bd7f54dce59fe4bd52b1fea4824f13b6a144de
parentbe27f02bcfe1f99b1bfe0ed2a5669f320bb1ef59
Minor style tweaks for recent tab changes

* src/dispextern.h (MR_PARTIALLY_VISIBLE_AT_TOP):
* src/window.c (Fwindow_mode_line_height)
(Fwindow_header_line_height, Fwindow_tab_line_height)
(Fwindow_right_divider_width, Fwindow_bottom_divider_width)
(Fwindow_scroll_bar_width, Fwindow_scroll_bar_height):
(Fset_window_configuration, Fcurrent_window_configuration):
Omit unnecessary parens.
* src/dispextern.h (CURRENT_MODE_LINE_HEIGHT)
(CURRENT_HEADER_LINE_HEIGHT, CURRENT_TAB_LINE_HEIGHT):
Add parens needed to make these macros function-like.
* src/window.c (window_resize_check):
* src/window.h (WINDOW_TAB_BAR_P):
* src/xdisp.c (tab_bar_item_info): Reindent.
* src/window.c (window_wants_mode_line)
(window_wants_header_line, window_wants_tab_line):
Simplify (a && b ? 1 : 0) to (a && b).
src/dispextern.h
src/window.c
src/window.h
src/xdisp.c