# HG changeset patch # User Gerd Moellmann # Date 997366872 0 # Node ID aa185d4220dda54ee68ab9953b37f45e5f1c21a5 # Parent 2fa1afcedab969a36174f90f3308b0757f14f70a (calendar-mode-line-format): Use make-mode-line-mouse-map instead of make-mode-line-mouse2-map. diff -r 2fa1afcedab9 -r aa185d4220dd lisp/calendar/calendar.el --- a/lisp/calendar/calendar.el Thu Aug 09 14:06:54 2001 +0000 +++ b/lisp/calendar/calendar.el Thu Aug 09 14:21:12 2001 +0000 @@ -2040,34 +2040,38 @@ (propertize (substitute-command-keys "\\\\[scroll-calendar-left]") 'help-echo "mouse-2: scroll left" - 'keymap (make-mode-line-mouse2-map #'scroll-calendar-left)) + 'keymap (make-mode-line-mouse-map 'mouse-2 + #'scroll-calendar-left)) "Calendar" (concat (propertize (substitute-command-keys "\\\\[calendar-goto-info-node] info") 'help-echo "mouse-2: read Info on Calendar" - 'keymap (make-mode-line-mouse2-map #'calendar-goto-info-node)) + 'keymap (make-mode-line-mouse-map 'mouse-2 #'calendar-goto-info-node)) "/" (propertize (substitute-command-keys "\\\\[calendar-other-month] other") 'help-echo "mouse-2: choose another month" - 'keymap (make-mode-line-mouse2-map (lambda () - (interactive) - (call-interactively - 'calendar-other-month)))) + 'keymap (make-mode-line-mouse-map + 'mouse-2 + (lambda () + (interactive) + (call-interactively + 'calendar-other-month)))) "/" (propertize (substitute-command-keys "\\\\[calendar-goto-today] today") 'help-echo "mouse-2: go to today's date" - 'keymap (make-mode-line-mouse2-map #'calendar-goto-today))) + 'keymap (make-mode-line-mouse-map 'mouse-2 #'calendar-goto-today))) '(calendar-date-string (calendar-current-date) t) (propertize (substitute-command-keys "\\\\[scroll-calendar-right]") 'help-echo "mouse-2: scroll right" - 'keymap (make-mode-line-mouse2-map #'scroll-calendar-right))) + 'keymap (make-mode-line-mouse-map + 'mouse-2 #'scroll-calendar-right))) "The mode line of the calendar buffer.") (defun calendar-goto-info-node ()