Mercurial > vim
comparison src/ex_cmds.c @ 694:07d199fe02ed v7.0209
updated for version 7.0209
author | vimboss |
---|---|
date | Mon, 27 Feb 2006 23:58:35 +0000 |
parents | a8caf7dd853d |
children | 0f9f4761ad9c |
comparison
equal
deleted
inserted
replaced
693:05dc93b9c61f | 694:07d199fe02ed |
---|---|
3263 char_u *p; | 3263 char_u *p; |
3264 | 3264 |
3265 curbuf->b_help = TRUE; | 3265 curbuf->b_help = TRUE; |
3266 #ifdef FEAT_QUICKFIX | 3266 #ifdef FEAT_QUICKFIX |
3267 set_string_option_direct((char_u *)"buftype", -1, | 3267 set_string_option_direct((char_u *)"buftype", -1, |
3268 (char_u *)"help", OPT_FREE|OPT_LOCAL); | 3268 (char_u *)"help", OPT_FREE|OPT_LOCAL, 0); |
3269 # ifdef FEAT_EVAL | |
3270 set_option_scriptID((char_u *)"buftype", current_SID); | |
3271 # endif | |
3272 #endif | 3269 #endif |
3273 | 3270 |
3274 /* | 3271 /* |
3275 * Always set these options after jumping to a help tag, because the | 3272 * Always set these options after jumping to a help tag, because the |
3276 * user may have an autocommand that gets in the way. | 3273 * user may have an autocommand that gets in the way. |
3285 (char_u *)"!-~,^*,^|,^\",192-255"; | 3282 (char_u *)"!-~,^*,^|,^\",192-255"; |
3286 #endif | 3283 #endif |
3287 if (STRCMP(curbuf->b_p_isk, p) != 0) | 3284 if (STRCMP(curbuf->b_p_isk, p) != 0) |
3288 { | 3285 { |
3289 set_string_option_direct((char_u *)"isk", -1, p, | 3286 set_string_option_direct((char_u *)"isk", -1, p, |
3290 OPT_FREE|OPT_LOCAL); | 3287 OPT_FREE|OPT_LOCAL, 0); |
3291 # ifdef FEAT_EVAL | |
3292 set_option_scriptID((char_u *)"isk", current_SID); | |
3293 # endif | |
3294 check_buf_options(curbuf); | 3288 check_buf_options(curbuf); |
3295 (void)buf_init_chartab(curbuf, FALSE); | 3289 (void)buf_init_chartab(curbuf, FALSE); |
3296 } | 3290 } |
3297 | 3291 |
3298 curbuf->b_p_ts = 8; /* 'tabstop' is 8 */ | 3292 curbuf->b_p_ts = 8; /* 'tabstop' is 8 */ |