aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/calendar/diary-lib.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el
index 9551174558d..159682c2e63 100644
--- a/lisp/calendar/diary-lib.el
+++ b/lisp/calendar/diary-lib.el
@@ -309,11 +309,10 @@ If this variable is nil, years must be written in full."
309 "Return a replace-match template for an element of `diary-outlook-formats'. 309 "Return a replace-match template for an element of `diary-outlook-formats'.
310Returns a string using match elements 1-5, where: 310Returns a string using match elements 1-5, where:
3111 = month name, 2 = day, 3 = year, 4 = time, 5 = location; also uses 3111 = month name, 2 = day, 3 = year, 4 = time, 5 = location; also uses
312%s = message subject. 312%s = message subject. BODY is the string from which the matches derive."
313The argument BODY is not used." 313 (let* ((monthname (match-string 1 body))
314 (let* ((monthname (match-string 1)) 314 (day (match-string 2 body))
315 (day (match-string 2)) 315 (year (match-string 3 body))
316 (year (match-string 3))
317 ;; Blech. 316 ;; Blech.
318 (month (catch 'found 317 (month (catch 'found
319 (dotimes (i (length calendar-month-name-array)) 318 (dotimes (i (length calendar-month-name-array))