diff options
| -rw-r--r-- | lisp/calendar/calendar.el | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 29a23d45865..3b22409e444 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el | |||
| @@ -2040,34 +2040,38 @@ the inserted text. Value is always t." | |||
| 2040 | (propertize (substitute-command-keys | 2040 | (propertize (substitute-command-keys |
| 2041 | "\\<calendar-mode-map>\\[scroll-calendar-left]") | 2041 | "\\<calendar-mode-map>\\[scroll-calendar-left]") |
| 2042 | 'help-echo "mouse-2: scroll left" | 2042 | 'help-echo "mouse-2: scroll left" |
| 2043 | 'keymap (make-mode-line-mouse2-map #'scroll-calendar-left)) | 2043 | 'keymap (make-mode-line-mouse-map 'mouse-2 |
| 2044 | #'scroll-calendar-left)) | ||
| 2044 | "Calendar" | 2045 | "Calendar" |
| 2045 | (concat | 2046 | (concat |
| 2046 | (propertize | 2047 | (propertize |
| 2047 | (substitute-command-keys | 2048 | (substitute-command-keys |
| 2048 | "\\<calendar-mode-map>\\[calendar-goto-info-node] info") | 2049 | "\\<calendar-mode-map>\\[calendar-goto-info-node] info") |
| 2049 | 'help-echo "mouse-2: read Info on Calendar" | 2050 | 'help-echo "mouse-2: read Info on Calendar" |
| 2050 | 'keymap (make-mode-line-mouse2-map #'calendar-goto-info-node)) | 2051 | 'keymap (make-mode-line-mouse-map 'mouse-2 #'calendar-goto-info-node)) |
| 2051 | "/" | 2052 | "/" |
| 2052 | (propertize | 2053 | (propertize |
| 2053 | (substitute-command-keys | 2054 | (substitute-command-keys |
| 2054 | "\\<calendar-mode-map>\\[calendar-other-month] other") | 2055 | "\\<calendar-mode-map>\\[calendar-other-month] other") |
| 2055 | 'help-echo "mouse-2: choose another month" | 2056 | 'help-echo "mouse-2: choose another month" |
| 2056 | 'keymap (make-mode-line-mouse2-map (lambda () | 2057 | 'keymap (make-mode-line-mouse-map |
| 2057 | (interactive) | 2058 | 'mouse-2 |
| 2058 | (call-interactively | 2059 | (lambda () |
| 2059 | 'calendar-other-month)))) | 2060 | (interactive) |
| 2061 | (call-interactively | ||
| 2062 | 'calendar-other-month)))) | ||
| 2060 | "/" | 2063 | "/" |
| 2061 | (propertize | 2064 | (propertize |
| 2062 | (substitute-command-keys | 2065 | (substitute-command-keys |
| 2063 | "\\<calendar-mode-map>\\[calendar-goto-today] today") | 2066 | "\\<calendar-mode-map>\\[calendar-goto-today] today") |
| 2064 | 'help-echo "mouse-2: go to today's date" | 2067 | 'help-echo "mouse-2: go to today's date" |
| 2065 | 'keymap (make-mode-line-mouse2-map #'calendar-goto-today))) | 2068 | 'keymap (make-mode-line-mouse-map 'mouse-2 #'calendar-goto-today))) |
| 2066 | '(calendar-date-string (calendar-current-date) t) | 2069 | '(calendar-date-string (calendar-current-date) t) |
| 2067 | (propertize (substitute-command-keys | 2070 | (propertize (substitute-command-keys |
| 2068 | "\\<calendar-mode-map>\\[scroll-calendar-right]") | 2071 | "\\<calendar-mode-map>\\[scroll-calendar-right]") |
| 2069 | 'help-echo "mouse-2: scroll right" | 2072 | 'help-echo "mouse-2: scroll right" |
| 2070 | 'keymap (make-mode-line-mouse2-map #'scroll-calendar-right))) | 2073 | 'keymap (make-mode-line-mouse-map |
| 2074 | 'mouse-2 #'scroll-calendar-right))) | ||
| 2071 | "The mode line of the calendar buffer.") | 2075 | "The mode line of the calendar buffer.") |
| 2072 | 2076 | ||
| 2073 | (defun calendar-goto-info-node () | 2077 | (defun calendar-goto-info-node () |