Function: calendar-mode-line-entry
calendar-mode-line-entry is a byte-compiled function defined in
calendar.el.gz.
Signature
(calendar-mode-line-entry COMMAND ECHO &optional KEY STRING)
Documentation
Return a propertized string for calendar-mode-line-format.
COMMAND is a command to run, ECHO is the help-echo text, KEY is COMMAND's keybinding, STRING describes the binding.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/calendar.el.gz
(defun calendar-mode-line-entry (command echo &optional key string)
"Return a propertized string for `calendar-mode-line-format'.
COMMAND is a command to run, ECHO is the help-echo text, KEY
is COMMAND's keybinding, STRING describes the binding."
(propertize (or key
(substitute-command-keys
(format "\\<calendar-mode-map>\\[%s] %s" command string)
'hands-off-my-face))
'help-echo (format "mouse-1: %s" echo)
'mouse-face 'mode-line-highlight
'keymap (make-mode-line-mouse-map 'mouse-1 command)))