Maxim Philippov wrote: > On Saturday, August 23, 2014 1:06:17 AM UTC+4, Bram Moolenaar wrote: > > Patch 7.4.414 > > > > Problem: Cannot define a command only when it's used. > > > > Solution: Add the CmdUndefined autocommand event. (partly by Yasuhiro > > > > Hello! This patch causes compilation error > > ex_docmd.c: In function ‘do_one_cmd’: > ex_docmd.c:2159:23: error: ‘EVENT_CMDUNDEFINED’ undeclared (first use in this > function) > ret = apply_autocmds(EVENT_CMDUNDEFINED, p, p, TRUE, NULL); > ^ > I guess, EVENT_CMDUNDEFINED is missing from vim.h. Attached patch > fixes an issue, though I'm not sure about comment.
Sorry, just forgot to include that file in the patch. -- The real trick is this: to keep the lines as short as possible and keep the size the same yet free from the need for hyphena- Dammit!! (Matthew Winn) /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
