aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-11-25 19:14:03 -0800
committerGlenn Morris2010-11-25 19:14:03 -0800
commit92c56fe7fd59e7bb8c374c71db82f3a941e47181 (patch)
tree6ce551ac6415c1f8449004e4f90be0595f0b695c
parentd01d7b8d7dd30fefd8b3904744f93c8b785ab3bf (diff)
downloademacs-92c56fe7fd59e7bb8c374c71db82f3a941e47181.tar.gz
emacs-92c56fe7fd59e7bb8c374c71db82f3a941e47181.zip
* lisp/calendar/diary-lib.el (diary-outlook-format-1): Fix match-strings.
-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))