comparison src/ex_cmds.c @ 6228:cb5480096f1b v7.4.449

updated for version 7.4.449 Problem: Can't easily close the help window. (Chris Gaal) Solution: Add ":helpclose". (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Fri, 19 Sep 2014 19:39:34 +0200
parents 00f58478e38b
children 78aad99db762
comparison
equal deleted inserted replaced
6227:3898fa630d12 6228:cb5480096f1b
5897 5897
5898 erret: 5898 erret:
5899 vim_free(tag); 5899 vim_free(tag);
5900 } 5900 }
5901 5901
5902 /*
5903 * ":helpclose": Close the help window
5904 */
5905 void
5906 ex_helpclose(eap)
5907 exarg_T *eap UNUSED;
5908 {
5909 win_T *win;
5910
5911 FOR_ALL_WINDOWS(win)
5912 {
5913 if (win->w_buffer->b_help)
5914 {
5915 win_close(win, FALSE);
5916 break;
5917 }
5918 }
5919 }
5902 5920
5903 #if defined(FEAT_MULTI_LANG) || defined(PROTO) 5921 #if defined(FEAT_MULTI_LANG) || defined(PROTO)
5904 /* 5922 /*
5905 * In an argument search for a language specifiers in the form "@xx". 5923 * In an argument search for a language specifiers in the form "@xx".
5906 * Changes the "@" to NUL if found, and returns a pointer to "xx". 5924 * Changes the "@" to NUL if found, and returns a pointer to "xx".