aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward M. Reingold1995-10-13 13:06:37 +0000
committerEdward M. Reingold1995-10-13 13:06:37 +0000
commit6df87f14218fc2c35a660c3d78d54462738fea5a (patch)
tree4f35678447dc2cdcc8faeed95511e0aee273a65e
parentf9e24cb917cb9982b803c6cdead0f7bb9107741e (diff)
downloademacs-6df87f14218fc2c35a660c3d78d54462738fea5a.tar.gz
emacs-6df87f14218fc2c35a660c3d78d54462738fea5a.zip
Minor fixes.
-rw-r--r--lisp/calendar/cal-tex.el11
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/calendar/cal-tex.el b/lisp/calendar/cal-tex.el
index 6ee9102bb54..c0ec98bbec4 100644
--- a/lisp/calendar/cal-tex.el
+++ b/lisp/calendar/cal-tex.el
@@ -25,8 +25,8 @@
25 25
26;;; Commentary: 26;;; Commentary:
27 27
28;; This collection of functions implements the features of calendar.el that 28;; This collection of functions implements the creation of LaTeX calendars
29;; deal with printing the calendar. 29;; based on the user's holiday choices and diary file.
30 30
31;;; TO DO 31;;; TO DO
32;;; 32;;;
@@ -888,13 +888,13 @@ Optional prefix argument specifies number of weeks."
888 (if (/= i n) 888 (if (/= i n)
889 (progn 889 (progn
890 (run-hooks 'cal-tex-week-hook) 890 (run-hooks 'cal-tex-week-hook)
891 (setq date date7) 891 (setq date (cal-tex-incr-date date 7))
892 (cal-tex-newpage)))) 892 (cal-tex-newpage))))
893 (cal-tex-end-document) 893 (cal-tex-end-document)
894 (run-hooks 'cal-tex-hook))) 894 (run-hooks 'cal-tex-hook)))
895 895
896(defun cal-tex-weekly4-box (date weekend) 896(defun cal-tex-weekly4-box (date weekend)
897 "make one box for DATE, different if WEEKEND" 897 "Make one box for DATE, different if WEEKEND."
898 (let* ( 898 (let* (
899 (day (extract-calendar-day date)) 899 (day (extract-calendar-day date))
900 (month (extract-calendar-month date)) 900 (month (extract-calendar-month date))
@@ -908,8 +908,7 @@ Optional prefix argument specifies number of weeks."
908 ) 908 )
909 (cal-tex-b-framebox "8cm" "l") 909 (cal-tex-b-framebox "8cm" "l")
910 (cal-tex-b-parbox "b" "7.5cm") 910 (cal-tex-b-parbox "b" "7.5cm")
911 (insert (format "{\\Large\\bf %s,} %s/%s/%s\\\\\n" 911 (insert (format "{\\Large\\bf %s,} %s/%s/%s\\\\\n" dayname month day year))
912 dayname month day year))
913 (cal-tex-rule "0pt" "7.5cm" ".5mm") 912 (cal-tex-rule "0pt" "7.5cm" ".5mm")
914 (cal-tex-nl) 913 (cal-tex-nl)
915 (if (not weekend) 914 (if (not weekend)