emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Org-mode version 6.31trans (release_6.31.33.ge59e.dirty); org-


From: Mikael Fornius
Subject: [Orgmode] Org-mode version 6.31trans (release_6.31.33.ge59e.dirty); org-time-stamp problem with fix
Date: Tue, 06 Oct 2009 21:55:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Emacs  : GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.16.5)
 of 2009-07-30 on home.sergej.pp.ru
Package: Org-mode version 6.31trans (release_6.31.33.ge59e.dirty)

I got error when writing numbers in the interactive time-stamp function:
"void function prog" and think this is a typo in org-read-date-analyze:

;-)

diff --git a/lisp/org.el b/lisp/org.el
index 03b067b..f577a06 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -12826,7 +12826,7 @@ user."
          month (or (nth 4 tl)
                    (if (and org-read-date-prefer-future
                             (nth 3 tl) (< (nth 3 tl) (nth 3 defdecode)))
-                       (prog (1+ (nth 4 defdecode)) (setq futurep t))
+                       (prog1 (1+ (nth 4 defdecode)) (setq futurep t))
                      (nth 4 defdecode)))
          year (or (nth 5 tl)
                   (if (and org-read-date-prefer-future

                   
-- 
Mikael Fornius




reply via email to

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