summaryrefslogtreecommitdiff
path: root/lisp/calendar/cal-move.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-03-13 06:29:28 +0000
committerGlenn Morris <rgm@gnu.org>2008-03-13 06:29:28 +0000
commit71ea27eeaccebe2d1ca3d47610cb7c485a2a388d (patch)
treeb78d6bceabbe666ff25b1e5f3592a2a42eba0ef8 /lisp/calendar/cal-move.el
parent6eb61c70a8292a7551349a294e1f95c4cf1cadf6 (diff)
downloademacs-71ea27eeaccebe2d1ca3d47610cb7c485a2a388d.tar.gz
emacs-71ea27eeaccebe2d1ca3d47610cb7c485a2a388d.tar.bz2
emacs-71ea27eeaccebe2d1ca3d47610cb7c485a2a388d.zip
Whitespace only.
Diffstat (limited to 'lisp/calendar/cal-move.el')
-rw-r--r--lisp/calendar/cal-move.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/calendar/cal-move.el b/lisp/calendar/cal-move.el
index e28542b7c21..92e569e0a59 100644
--- a/lisp/calendar/cal-move.el
+++ b/lisp/calendar/cal-move.el
@@ -318,21 +318,21 @@ Moves forward if ARG is negative."
(defun calendar-cursor-to-visible-date (date)
"Move the cursor to DATE that is on the screen."
(let* ((month (extract-calendar-month date))
- (day (extract-calendar-day date))
- (year (extract-calendar-year date))
- (first-of-month-weekday (calendar-day-of-week (list month 1 year))))
+ (day (extract-calendar-day date))
+ (year (extract-calendar-year date))
+ (first-of-month-weekday (calendar-day-of-week (list month 1 year))))
(goto-line (+ 3
- (/ (+ day -1
+ (/ (+ day -1
(mod
(- (calendar-day-of-week (list month 1 year))
calendar-week-start-day)
7))
7)))
(move-to-column (+ 6
- (* 25
- (1+ (calendar-interval
- displayed-month displayed-year month year)))
- (* 3 (mod
+ (* 25
+ (1+ (calendar-interval
+ displayed-month displayed-year month year)))
+ (* 3 (mod
(- (calendar-day-of-week date)
calendar-week-start-day)
7))))))