emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/textmodes/org.el


From: Carsten Dominik
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/org.el
Date: Fri, 17 Mar 2006 06:57:54 +0000

Index: emacs/lisp/textmodes/org.el
diff -u emacs/lisp/textmodes/org.el:1.70 emacs/lisp/textmodes/org.el:1.71
--- emacs/lisp/textmodes/org.el:1.70    Wed Mar 15 07:11:19 2006
+++ emacs/lisp/textmodes/org.el Fri Mar 17 06:57:53 2006
@@ -4006,8 +4006,8 @@
                month (string-to-number (match-string 3 ans))
                day (string-to-number (match-string 4 ans)))
          (if (< year 100) (setq year (+ 2000 year)))
-         (setq ans (replace-match (format "%04d-%02d-%02d" year month day)
-                                  t t ans))))
+         (setq ans (replace-match (format "%04d-%02d-%02d\\5" year month day)
+                                  t nil ans))))
     (setq tl (parse-time-string ans)
          year (or (nth 5 tl) (string-to-number (format-time-string "%Y")))
          month (or (nth 4 tl) (string-to-number (format-time-string "%m")))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]