Mercurial > emacs
changeset 92634:decf6dfe9876
(calendar-scroll-left, calendar-scroll-right): Doc fix.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 08 Mar 2008 20:25:24 +0000 |
parents | ee38530c8cf3 |
children | fb3f66f11422 |
files | lisp/calendar/cal-move.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calendar/cal-move.el Sat Mar 08 20:22:36 2008 +0000 +++ b/lisp/calendar/cal-move.el Sat Mar 08 20:25:24 2008 +0000 @@ -94,7 +94,8 @@ (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 @@ (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))