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?"

       


_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to