Commit db940e42 authored by Glenn Morris's avatar Glenn Morris

(calendar-scroll-left, calendar-scroll-right): Doc fix.

parent 7d4005cc
......@@ -32,6 +32,9 @@
* calendar/cal-iso.el (calendar-iso-read-args): Doc fix.
* calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
Doc fix.
* calendar/cal-persia.el (persian-calendar-month-name-array)
(persian-calendar-epoch): Make constants.
......
......@@ -94,7 +94,8 @@ Movement is forward is ARG is negative."
(defun calendar-scroll-left (&optional arg event)
"Scroll the displayed calendar left by ARG months.
If ARG is negative the calendar is scrolled right. Maintains the relative
position of the cursor with respect to the calendar as well as possible."
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))
(unless arg (setq arg 1))
......@@ -119,7 +120,8 @@ position of the cursor with respect to the calendar as well as possible."
(defun calendar-scroll-right (&optional arg event)
"Scroll the displayed calendar window right by ARG months.
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."
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 (- (or arg 1)) event))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment