Function: calendar-scroll-calendar-right
calendar-scroll-calendar-right is an autoloaded, interactive and
byte-compiled function defined in cal-move.el.gz.
Signature
(calendar-scroll-calendar-right ARG &optional EVENT)
Documentation
Scroll the displayed calendar window right ARG times.
If ARG is negative the calendar is scrolled left. Maintains the relative
position of the cursor with respect to the calendar as well as possible.
EVENT is an event like last-nonmenu-event.
Probably introduced at or before Emacs version 31.1.
Key Bindings
Aliases
calendar-scroll-right-three-months (obsolete since 31.1)
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/cal-move.el.gz
;;;###cal-autoload
(defun calendar-scroll-calendar-right (arg &optional event)
"Scroll the displayed calendar window right ARG times.
If ARG is negative the calendar is scrolled left. Maintains the relative
position of the cursor with respect to the calendar as well as possible.
EVENT is an event like `last-nonmenu-event'."
(interactive (list (prefix-numeric-value current-prefix-arg)
last-nonmenu-event))
(calendar-scroll-left (* -1 calendar-total-months arg) event))