diff options
| author | Karl Heuer <kwzh@gnu.org> | 1994-04-04 22:59:59 +0000 |
|---|---|---|
| committer | Karl Heuer <kwzh@gnu.org> | 1994-04-04 22:59:59 +0000 |
| commit | c9434ed66d1e3a6d8210b45e91b998ee89904697 (patch) | |
| tree | 8b53811f293dd268daa39a578388f634b63e3065 /lisp | |
| parent | ef2b0b8983ac1a1137f1b073fefc04c88fd81edc (diff) | |
| download | emacs-c9434ed66d1e3a6d8210b45e91b998ee89904697.tar.gz | |
(generate-calendar-month): Add mouse-face properties.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/calendar/calendar.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 74d1c52e0a1..b1495c45633 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el @@ -1387,6 +1387,8 @@ characters on the line." ;; 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) (and (zerop (calendar-mod (+ i blank-days) 7)) (/= i last) (calendar-insert-indented "" 0 t) ;; Force onto following line |
