[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: how to remove a menu item?

From: Drew Adams
Subject: RE: how to remove a menu item?
Date: Sun, 1 Feb 2009 22:38:32 -0800

> if i want to remove the menu under Help ? Emacs Psychotherapist, how
> do i do it?

C-h k, then click Help > Emacs Psychotherapist shows this:

| <menu-bar> <help-menu> <emacs-psychotherapist> runs the command doctor
|   which is an interactive autoloaded Lisp function in `doctor'.
| It is bound to <menu-bar> <help-menu> <emacs-psychotherapist>.
| (doctor)
| Switch to *doctor* buffer and start giving psychotherapy.

Either of these will get rid of this binding:

(define-key global-map [menu-bar help-menu emacs-psychotherapist] nil)

(define-key menu-bar-help-menu [emacs-psychotherapist] nil)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]