summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.2.146
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/vim/patches/7.2.146')
-rw-r--r--source/ap/vim/patches/7.2.146110
1 files changed, 0 insertions, 110 deletions
diff --git a/source/ap/vim/patches/7.2.146 b/source/ap/vim/patches/7.2.146
deleted file mode 100644
index 96852fbe..00000000
--- a/source/ap/vim/patches/7.2.146
+++ /dev/null
@@ -1,110 +0,0 @@
-To: vim-dev@vim.org
-Subject: Patch 7.2.146
-Fcc: outbox
-From: Bram Moolenaar <Bram@moolenaar.net>
-Mime-Version: 1.0
-Content-Type: text/plain; charset=ISO-8859-1
-Content-Transfer-Encoding: 8bit
-------------
-
-Patch 7.2.146
-Problem: v:warningmsg isn't used for all warnings.
-Solution: Set v:warningmsg for relevant warnings. (Ingo Karkat)
-Files: src/fileio.c, src/misc1.c, src/option.c
-
-
-*** ../vim-7.2.145/src/fileio.c Wed Mar 11 13:09:30 2009
---- src/fileio.c Wed Mar 18 15:03:46 2009
-***************
-*** 6647,6652 ****
---- 6647,6657 ----
- tbuf = alloc((unsigned)(STRLEN(path) + STRLEN(mesg)
- + STRLEN(mesg2) + 2));
- sprintf((char *)tbuf, mesg, path);
-+ #ifdef FEAT_EVAL
-+ /* Set warningmsg here, before the unimportant and output-specific
-+ * mesg2 has been appended. */
-+ set_vim_var_string(VV_WARNINGMSG, tbuf, -1);
-+ #endif
- #if defined(FEAT_CON_DIALOG) || defined(FEAT_GUI_DIALOG)
- if (can_reload)
- {
-*** ../vim-7.2.145/src/misc1.c Thu Nov 20 17:09:09 2008
---- src/misc1.c Wed Mar 18 15:06:59 2009
-***************
-*** 2955,2960 ****
---- 2955,2962 ----
- int col; /* column for message; non-zero when in insert
- mode and 'showmode' is on */
- {
-+ static char *w_readonly = N_("W10: Warning: Changing a readonly file");
-+
- if (curbuf->b_did_warn == FALSE
- && curbufIsChanged() == 0
- #ifdef FEAT_AUTOCMD
-***************
-*** 2977,2984 ****
- if (msg_row == Rows - 1)
- msg_col = col;
- msg_source(hl_attr(HLF_W));
-! MSG_PUTS_ATTR(_("W10: Warning: Changing a readonly file"),
-! hl_attr(HLF_W) | MSG_HIST);
- msg_clr_eos();
- (void)msg_end();
- if (msg_silent == 0 && !silent_mode)
---- 2979,2988 ----
- if (msg_row == Rows - 1)
- msg_col = col;
- msg_source(hl_attr(HLF_W));
-! MSG_PUTS_ATTR(_(w_readonly), hl_attr(HLF_W) | MSG_HIST);
-! #ifdef FEAT_EVAL
-! set_vim_var_string(VV_WARNINGMSG, (char_u *)_(w_readonly), -1);
-! #endif
- msg_clr_eos();
- (void)msg_end();
- if (msg_silent == 0 && !silent_mode)
-*** ../vim-7.2.145/src/option.c Wed Mar 18 14:19:28 2009
---- src/option.c Wed Mar 18 15:06:11 2009
-***************
-*** 7563,7571 ****
- * set. */
- if (STRCMP(p_enc, "utf-8") != 0)
- {
- msg_source(hl_attr(HLF_W));
-! MSG_ATTR(_("W17: Arabic requires UTF-8, do ':set encoding=utf-8'"),
-! hl_attr(HLF_W));
- }
-
- # ifdef FEAT_MBYTE
---- 7563,7575 ----
- * set. */
- if (STRCMP(p_enc, "utf-8") != 0)
- {
-+ static char *w_arabic = N_("W17: Arabic requires UTF-8, do ':set encoding=utf-8'");
-+
- msg_source(hl_attr(HLF_W));
-! MSG_ATTR(_(w_arabic), hl_attr(HLF_W));
-! #ifdef FEAT_EVAL
-! set_vim_var_string(VV_WARNINGMSG, (char_u *)_(w_arabic), -1);
-! #endif
- }
-
- # ifdef FEAT_MBYTE
-*** ../vim-7.2.145/src/version.c Wed Mar 18 14:30:46 2009
---- src/version.c Wed Mar 18 15:38:27 2009
-***************
-*** 678,679 ****
---- 678,681 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 146,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-238. You think faxes are old-fashioned.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ download, build and distribute -- http://www.A-A-P.org ///
- \\\ help me help AIDS victims -- http://ICCF-Holland.org ///