summaryrefslogtreecommitdiff
path: root/lisp/calendar
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2003-08-03 13:58:39 +0000
committerGlenn Morris <rgm@gnu.org>2003-08-03 13:58:39 +0000
commit30f5dd988bc0e40670d41e573a04075267995a31 (patch)
tree1b4ffa4fdd259d3e0b3abf3ceb5da37b3d2f71f5 /lisp/calendar
parent3f762917b0c7bf41c361b61362001ea566c3cfc8 (diff)
downloademacs-30f5dd988bc0e40670d41e573a04075267995a31.tar.gz
(cal-tex-day-name-format): Doc fix.
(cal-tex-LaTeX-hourbox): Move definition before use.
Diffstat (limited to 'lisp/calendar')
-rw-r--r--lisp/calendar/cal-tex.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/calendar/cal-tex.el b/lisp/calendar/cal-tex.el
index cae09805e9d..5af65a380bb 100644
--- a/lisp/calendar/cal-tex.el
+++ b/lisp/calendar/cal-tex.el
@@ -158,7 +158,7 @@ The holidays, diary entries, bottom string, and the text follow.")
(defvar cal-tex-day-name-format "\\myday{%s}%%"
"The format for LaTeX code for a day name. The names are taken from
-calendar-day-name-array.")
+`calendar-day-name-array'.")
(defvar cal-tex-cal-one-month
"\\def\\calmonth#1#2%
@@ -649,6 +649,11 @@ this is only an upper bound."
;;; Weekly calendars
;;;
+(defvar cal-tex-LaTeX-hourbox
+ "\\newcommand{\\hourbox}[2]%
+{\\makebox[2em]{\\rule{0cm}{#2ex}#1}\\rule{3in}{.15mm}}\n"
+ "One hour and a line on the right.")
+
(defun cal-tex-cursor-week (&optional arg)
"Make a buffer with LaTeX commands for a two-page one-week calendar.
It applies to the week that point is in.
@@ -870,11 +875,6 @@ Holidays are included if `cal-tex-holidays' is t."
(cal-tex-end-document)
(run-hooks 'cal-tex-hook)))
-(defvar cal-tex-LaTeX-hourbox
- "\\newcommand{\\hourbox}[2]%
-{\\makebox[2em]{\\rule{0cm}{#2ex}#1}\\rule{3in}{.15mm}}\n"
- "One hour and a line on the right.")
-
(defun cal-tex-week-hours (date holidays height)
"Insert hourly entries for DATE with HOLIDAYS, with line height HEIGHT."
(let ((month (extract-calendar-month date))