neovim/neovim — pull request #1208 by war1025 (2014-09-20 04:34:10+00:00)
Title: Remove FOR_ALL_WINDOWS and replace with FOR_ALL_WINDOWS_IN_TAB(curtab)

`FOR_ALL_WINDOWS` suggests that all windows are iterated over. In reality it is just the windows in the current tab. Replacing makes the behavior clearer.

Also removed `W_NEXT(wp)` since it was used in two places and doesn't buy anything over the `wp->w_next` that it expands to.