unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: easy-menu / remove dividers from menu -> fails...
Date: Thu, 26 May 2005 09:36:06 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICAEICCIAA.drew.adams@oracle.com> (raw)
In-Reply-To: <8384F25E-1E54-460B-ABE6-8E6E4AE08C91@gmail.com>

    How do I delete divider bars from a menu?
    Deleting normal items works, deleting the divider bar doesn't:
    
    (easy-menu-remove-item global-map  '("menu-bar" "file") 'exit- 
    emacs)    ; works
    (easy-menu-remove-item global-map  '("menu-bar" "file") 'separator- 
    exit) ; doesn't work
    
    The latter just doesn't do anything.
        
This may not be the kosher or easy-menu way to do it, but...

 (global-unset-key [menu-bar files separator-exit])

A question would be: "Why doesn't easy-menu-remove do the job?"

  reply	other threads:[~2005-05-26 16:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26  7:49 easy-menu / remove dividers from menu -> fails David Reitter
2005-05-26 16:36 ` Drew Adams [this message]
     [not found] <mailman.1868.1117094342.25862.help-gnu-emacs@gnu.org>
2005-05-26 17:29 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DNEMKBNJBGPAOPIJOOICAEICCIAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).