Hi Bram, On Tue, Apr 26, 2022 at 2:00 PM Bram Moolenaar <[email protected]> wrote:
> What does autocmd_set() do when there already is an autocommand with the > same group? When using ":autocmd" it would get added, which probably works > best. > Yes. The behavior of autocmd_set() is the same as the ":autocmd" command. If an autocommand already exists for a given group, event and pattern, then the new command is added to the list. > Having a "delete" flag for autocmd_set() seems strange. Perhaps it's > better to use autocmd_add() and autocmd_delete(). > > > I will add a separate function for deleting autocmds. Regards, Yegappan -- -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7k0ngSAtvBWdqi%3DvpVpuY2Oh2iH1o8XvBgq1%2BHPVy%3D2pQ%40mail.gmail.com.
