view runtime/delmenu.vim @ 12820:63d87ba12c34 v8.0.1287

patch 8.0.1287: temp file used for viminfo may have wrong permissions commit https://github.com/vim/vim/commit/aeeb6888ca3ee5122793b37c5aacc6c960b02c37 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 11 16:45:19 2017 +0100 patch 8.0.1287: temp file used for viminfo may have wrong permissions Problem: The temp file used when updating the viminfo file may have the wrong permissions if setting the group fails. Solution: Check if the group matches and reduce permissions if not.
author Christian Brabandt <cb@256bit.org>
date Sat, 11 Nov 2017 17:00:05 +0100
parents 3fc0f57ecb91
children 405309f9dd13
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 *

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 :