Mercurial > emacs
changeset 7887:a5e6f7045bc0
(calendar-mode-map): Change moon menu bar to pop up a menu.
author | Edward M. Reingold <reingold@emr.cs.iit.edu> |
---|---|
date | Tue, 14 Jun 1994 20:06:55 +0000 |
parents | ca955be67b4f |
children | b26a8476561d |
files | lisp/calendar/cal-menu.el |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calendar/cal-menu.el Tue Jun 14 19:50:14 1994 +0000 +++ b/lisp/calendar/cal-menu.el Tue Jun 14 20:06:55 1994 +0000 @@ -42,6 +42,12 @@ (defvar calendar-mouse-3-map (make-sparse-keymap "Calendar")) (define-key calendar-mode-map [down-mouse-3] calendar-mouse-3-map) +(define-key calendar-mode-map [menu-bar moon] + (cons "Moon" (make-sparse-keymap "Moon"))) + +(define-key calendar-mode-map [menu-bar moon moon] + '("Lunar phases" . calendar-phases-of-moon)) + (define-key calendar-mode-map [menu-bar diary] (cons "Diary" (make-sparse-keymap "Diary"))) @@ -277,7 +283,6 @@ (list "Menu" (list (calendar-date-string date t t) - '("Moon phase" . calendar-phases-of-moon) '("Diary entries" . calendar-mouse-view-diary-entries) '("Holidays" . calendar-mouse-holidays) '("Mark date" . calendar-mouse-set-mark)