view runtime/delmenu.vim @ 15075:fd9c4b1a71aa v8.1.0548

patch 8.1.0548: crash when job callback unloads a buffer commit https://github.com/vim/vim/commit/1341024e0823d9aa9cde08d6b55e12f2d90ff778 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 26 21:19:11 2018 +0100 patch 8.1.0548: crash when job callback unloads a buffer Problem: Crash when job callback unloads a buffer. (James McCoy) Solution: Don't round up the wait time to 10 msec in ui_inchar().
author Bram Moolenaar <Bram@vim.org>
date Mon, 26 Nov 2018 21:30:07 +0100
parents 405309f9dd13
children 8ac85adee561
line wrap: on
line source

" This Vim script deletes all the menus, so that they can be redefined.
" Warning: This also deletes all menus defined by the user!
"
" Maintainer:	Bram Moolenaar <Bram@vim.org>
" Last Change:	2001 May 27

aunmenu *
tlunmenu *

silent! unlet did_install_default_menus
silent! unlet did_install_syntax_menu
if exists("did_menu_trans")
  menutrans clear
  unlet did_menu_trans
endif

silent! unlet find_help_dialog

silent! unlet menutrans_help_dialog
silent! unlet menutrans_path_dialog
silent! unlet menutrans_tags_dialog
silent! unlet menutrans_textwidth_dialog
silent! unlet menutrans_fileformat_dialog
silent! unlet menutrans_no_file

" vim: set sw=2 :