changeset 36118:4459c383591a

(cal-tex-weekly4-box): Respect setting of cal-tex-24.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 16 Feb 2001 13:15:18 +0000
parents 776ddfaf7665
children 160a80dcf6b0
files lisp/calendar/cal-tex.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/cal-tex.el	Fri Feb 16 12:44:32 2001 +0000
+++ b/lisp/calendar/cal-tex.el	Fri Feb 16 13:15:18 2001 +0000
@@ -928,7 +928,8 @@
 	  (calendar-for-loop i from 8 to 12 do
 	     (insert (format "{\\large\\sf %d}\\\\\n" i)))
 	  (calendar-for-loop i from 1 to 5 do
-	     (insert (format "{\\large\\sf %d}\\\\\n" i)))))
+	     (insert (format "{\\large\\sf %d}\\\\\n" 
+			     (if cal-tex-24 (+ i 12) i))))))
     (cal-tex-nl ".5cm")
     (if weekend
 	(progn