Mercurial > vim
comparison src/buffer.c @ 19816:f37028184d6a
patch 8.2.0464: typos and other small problems
Commit: https://github.com/vim/vim/commit/14285cb801c5ba965fdb89c44e8c27d912edfe4b
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 27 20:58:37 2020 +0100
patch 8.2.0464: typos and other small problems
Problem: Typos and other small problems.
Solution: Fix the typos. Add missing files to the distribution.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 Mar 2020 21:00:07 +0100 |
parents | 804322d6c6ba |
children | 435726a03481 |
comparison
equal
deleted
inserted
replaced
19815:e841a4cf5fee | 19816:f37028184d6a |
---|---|
2012 apply_autocmds(EVENT_BUFDELETE, NULL, NULL, FALSE, curbuf); | 2012 apply_autocmds(EVENT_BUFDELETE, NULL, NULL, FALSE, curbuf); |
2013 if (buf == curbuf) | 2013 if (buf == curbuf) |
2014 apply_autocmds(EVENT_BUFWIPEOUT, NULL, NULL, FALSE, curbuf); | 2014 apply_autocmds(EVENT_BUFWIPEOUT, NULL, NULL, FALSE, curbuf); |
2015 #ifdef FEAT_EVAL | 2015 #ifdef FEAT_EVAL |
2016 if (aborting()) // autocmds may abort script processing | 2016 if (aborting()) // autocmds may abort script processing |
2017 { | |
2018 vim_free(ffname); | |
2017 return NULL; | 2019 return NULL; |
2020 } | |
2018 #endif | 2021 #endif |
2019 if (buf == curbuf) | 2022 if (buf == curbuf) |
2020 { | 2023 { |
2021 // Make sure 'bufhidden' and 'buftype' are empty | 2024 // Make sure 'bufhidden' and 'buftype' are empty |
2022 clear_string_option(&buf->b_p_bh); | 2025 clear_string_option(&buf->b_p_bh); |