diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-03-12 18:55:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-03-12 18:55:58 +0100 |
commit | af6c131bf7f86dc85fbc2e4a79f2547786228126 (patch) | |
tree | 8224851b49bf2c2962285c7a2e5a3683c2ed9ccb /src/misc1.c | |
parent | 24ff9e33a9b87f63547e7bce95d09ade1a04fcfb (diff) | |
download | vim-git-af6c131bf7f86dc85fbc2e4a79f2547786228126.tar.gz |
updated for version 7.4.201v7.4.201
Problem: 'lispwords' is a global option.
Solution: Make 'lispwords' global-local. (Sung Pae)
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c index b258d0bc9..943496186 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -8879,7 +8879,7 @@ lisp_match(p) { char_u buf[LSIZE]; int len; - char_u *word = p_lispwords; + char_u *word = *curbuf->b_p_lw != NUL ? curbuf->b_p_lw : p_lispwords; while (*word != NUL) { |