From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: how to remove a menu item? Date: Mon, 02 Feb 2009 19:57:31 -0600 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233628855 4683 80.91.229.12 (3 Feb 2009 02:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2009 02:40:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 03 03:42:08 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LUBEl-00086H-Ry for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Feb 2009 03:42:08 +0100 Original-Received: from localhost ([127.0.0.1]:35200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUBDT-0000Yg-0v for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 21:40:47 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 02 Feb 2009 19:57:24 -0600 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 28 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.132.133 Original-X-Trace: sv3-2DqYg73pD+i6zTfTer3y4t6SgTJ+ryLMtppLdIIjIjqbov41JPz5q9hf6eO8ySxa8YRI5w8Y1tIdDav!E7gZBbQ+FeN/jcFFPTpqED0jKghPJWlQu4qCwr+K2qThBJ3n2koQnzctYVuD90zxduX0tks0NXFU!cOo+zm3PD9Cc3JOnySUxo4TUJxbRyQI= Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:166551 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61866 Archived-At: Drew Adams wrote: >> 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: > > ,---- > | runs the command doctor > | which is an interactive autoloaded Lisp function in `doctor'. > | It is bound to . > | (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) > Thanks, Drew. On my build it was "eliza" rather than "emacs-psychotherapist" that was revealed by C-h k. Evaluating the define-key expression stripped the bottom item off the help menu but left the separator bar. Ed