Emacs Lisp: quickly remove menu items from GNU Emacs menus

Emacs Lisp: quickly remove menu items from GNU Emacs menus

:source-highlighter: rouge

This shows how one can quickly remove some items from GNU Emacs menus:

(define-key menu-bar-files-menu [print-buffer] nil)
(define-key menu-bar-help-menu [emacs-psychotherapist] nil)
(define-key menu-bar-tools-menu [compile] nil)
(define-key menu-bar-tools-menu [gnus] nil)

If you have need to provide cleaner menus for your users, you could use this function to remove menu items from GNU Emacs so that your users do not get distracted or do not engage in some deviating activities.

Leave Your Comment or Contact GNU.Support

Contact GNU.Support now. There is a simple rule at GNU.Support: if we can help you, we do, whenever and wherever necessary, and it's the way we've been doing business since 2002, and the only way we know


Full name:


E-mail:


Message: