diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-02-14 22:29:30 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-02-14 22:29:30 +0000 |
commit | 1d2ba7fa851f988ea9eab47b7662be243f85ddfa (patch) | |
tree | 5882ec62c5c5c6047021a94e74e4797139944a95 /src/buffer.c | |
parent | f52c725c4739f2d3368029d67218d6cae0d87995 (diff) | |
download | vim-git-1d2ba7fa851f988ea9eab47b7662be243f85ddfa.tar.gz |
updated for version 7.0197v7.0197
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c index 6d654b26a..eb8799c58 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1700,6 +1700,9 @@ free_buf_options(buf, free_p_ff) clear_string_option(&buf->b_p_inde); clear_string_option(&buf->b_p_indk); #endif +#if defined(FEAT_EVAL) + clear_string_option(&buf->b_p_fex); +#endif #ifdef FEAT_CRYPT clear_string_option(&buf->b_p_key); #endif @@ -2840,9 +2843,12 @@ buf_same_ino(buf, stp) } #endif +/* + * Print info about the current buffer. + */ void fileinfo(fullname, shorthelp, dont_truncate) - int fullname; + int fullname; /* when non-zero print full path */ int shorthelp; int dont_truncate; { @@ -3476,7 +3482,7 @@ build_stl_str_hl(wp, out, outlen, fmt, fillchar, maxwidth, hl) else { t = (opt == STL_FULLPATH) ? wp->w_buffer->b_ffname - : wp->w_buffer->b_fname; + : wp->w_buffer->b_fname; home_replace(wp->w_buffer, t, NameBuff, MAXPATHL, TRUE); } trans_characters(NameBuff, MAXPATHL); |