bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: calendar/cal-menu.el


From: Kevin Rodgers
Subject: Re: calendar/cal-menu.el
Date: Mon, 10 Jul 2006 08:52:37 -0600
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Frank Kulow wrote:
(define-key calendar-mode-map [menu-bar diary view]
  '("Cursor Date" . view-diary-entries))
(define-key calendar-mode-map [menu-bar diary view]
  '("Other File" . view-other-diary-entries))


dont work

In what way don't they work?

this work:

(define-key calendar-mode-map [menu-bar diary view]
  '("Cursor Date" . view-diary-entries))
(define-key calendar-mode-map [menu-bar diary viewo]
  '("Other File" . view-other-diary-entries))

The only difference between the first pair of forms and the second pair
is that you've specified a different key for the
view-other-diary-entries command in the second pair (viewo vs. view).
Assuming you want both commands available in the menu bar, it is obvious
they must be bound to different keys.

--
Kevin





reply via email to

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