# HG changeset patch # User Edward M. Reingold # Date 770309476 0 # Node ID 814aaac0b155e4429aa4f02d1919f3757b8b8ebc # Parent ce538d63b1e9b5f1a6a06af14810a20f2abbb9a1 (generate-calendar-month): Make highlighted text for mouse-2 a full column (2 chars) wide, even for single-digit dates. diff -r ce538d63b1e9 -r 814aaac0b155 lisp/calendar/calendar.el --- a/lisp/calendar/calendar.el Mon May 30 12:55:41 1994 +0000 +++ b/lisp/calendar/calendar.el Mon May 30 14:51:16 1994 +0000 @@ -1407,8 +1407,7 @@ ;; Put in the days of the month (calendar-for-loop i from 1 to last do (insert (format "%2d " i)) - (put-text-property (- (point) (if (< i 10) 2 3)) (1- (point)) - 'mouse-face 'highlight) + (put-text-property (- (point) 3) (1- (point)) 'mouse-face 'highlight) (and (zerop (calendar-mod (+ i blank-days) 7)) (/= i last) (calendar-insert-indented "" 0 t) ;; Force onto following line