forked from aniani/vim
updated for version 7.1a
This commit is contained in:
@@ -8,7 +8,8 @@
|
|||||||
all: tutor.ja.sjis tutor.ja.euc \
|
all: tutor.ja.sjis tutor.ja.euc \
|
||||||
tutor.ko.euc \
|
tutor.ko.euc \
|
||||||
tutor.ru tutor.ru.cp1251 \
|
tutor.ru tutor.ru.cp1251 \
|
||||||
tutor.gr tutor.gr.cp737
|
tutor.gr tutor.gr.cp737 \
|
||||||
|
tutor.hu
|
||||||
|
|
||||||
tutor.ja.sjis: tutor.ja.utf-8
|
tutor.ja.sjis: tutor.ja.utf-8
|
||||||
nkf -WXs tutor.ja.utf-8 > tutor.ja.sjis
|
nkf -WXs tutor.ja.utf-8 > tutor.ja.sjis
|
||||||
@@ -30,3 +31,6 @@ tutor.gr: tutor.gr.utf-8
|
|||||||
|
|
||||||
tutor.gr.cp737: tutor.gr.utf-8
|
tutor.gr.cp737: tutor.gr.utf-8
|
||||||
iconv -f UTF-8 -t cp737 tutor.gr.utf-8 > tutor.gr.cp737
|
iconv -f UTF-8 -t cp737 tutor.gr.utf-8 > tutor.gr.cp737
|
||||||
|
|
||||||
|
tutor.hu: tutor.hu.utf-8
|
||||||
|
iconv -f UTF-8 -t ISO-8859-2 tutor.hu.utf-8 > tutor.hu
|
||||||
|
15
src/ops.c
15
src/ops.c
@@ -1002,9 +1002,9 @@ yank_register_mline(regname)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* start or stop recording into a yank register
|
* Start or stop recording into a yank register.
|
||||||
*
|
*
|
||||||
* return FAIL for failure, OK otherwise
|
* Return FAIL for failure, OK otherwise.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
do_record(c)
|
do_record(c)
|
||||||
@@ -1031,9 +1031,9 @@ do_record(c)
|
|||||||
else /* stop recording */
|
else /* stop recording */
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Get the recorded key hits. K_SPECIAL and CSI will be escaped, so
|
* Get the recorded key hits. K_SPECIAL and CSI will be escaped, this
|
||||||
* that the register can be put into the typeahead buffer without
|
* needs to be removed again to put it in a register. exec_reg then
|
||||||
* translation.
|
* adds the escaping back later.
|
||||||
*/
|
*/
|
||||||
Recording = FALSE;
|
Recording = FALSE;
|
||||||
MSG("");
|
MSG("");
|
||||||
@@ -1417,13 +1417,14 @@ stuffescaped(arg, literally)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If "regname" is a special register, return a pointer to its value.
|
* If "regname" is a special register, return TRUE and store a pointer to its
|
||||||
|
* value in "argp".
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
get_spec_reg(regname, argp, allocated, errmsg)
|
get_spec_reg(regname, argp, allocated, errmsg)
|
||||||
int regname;
|
int regname;
|
||||||
char_u **argp;
|
char_u **argp;
|
||||||
int *allocated;
|
int *allocated; /* return: TRUE when value was allocated */
|
||||||
int errmsg; /* give error message when failing */
|
int errmsg; /* give error message when failing */
|
||||||
{
|
{
|
||||||
int cnt;
|
int cnt;
|
||||||
|
@@ -5275,7 +5275,7 @@ insecure_flag(opt_idx, opt_flags)
|
|||||||
* The string is copied into allocated memory.
|
* The string is copied into allocated memory.
|
||||||
* if ("opt_idx" == -1) "name" is used, otherwise "opt_idx" is used.
|
* if ("opt_idx" == -1) "name" is used, otherwise "opt_idx" is used.
|
||||||
* When "set_sid" is zero set the scriptID to current_SID. When "set_sid" is
|
* When "set_sid" is zero set the scriptID to current_SID. When "set_sid" is
|
||||||
* SID_NONE don't set the scriptID. Otherwose set the scriptID to "set_sid".
|
* SID_NONE don't set the scriptID. Otherwise set the scriptID to "set_sid".
|
||||||
*/
|
*/
|
||||||
/*ARGSUSED*/
|
/*ARGSUSED*/
|
||||||
void
|
void
|
||||||
@@ -7144,6 +7144,8 @@ set_bool_option(opt_idx, varp, value, opt_flags)
|
|||||||
if (curbuf->b_p_swf && p_uc)
|
if (curbuf->b_p_swf && p_uc)
|
||||||
ml_open_file(curbuf); /* create the swap file */
|
ml_open_file(curbuf); /* create the swap file */
|
||||||
else
|
else
|
||||||
|
/* no need to reset curbuf->b_may_swap, ml_open_file() will check
|
||||||
|
* buf->b_p_swf */
|
||||||
mf_close_file(curbuf, TRUE); /* remove the swap file */
|
mf_close_file(curbuf, TRUE); /* remove the swap file */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user