From 3b396b0e77674454b0e9c8846b8cf682f6b54f6d Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Wed, 4 Mar 2009 00:18:43 +0100 Subject: [PATCH] Bugfix: Don't add CLOSED timestamp when repeating --- lisp/ChangeLog | 3 +++ lisp/org.el | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 10fe9362f..4ebbd6720 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2009-03-03 Carsten Dominik + * org.el (org-add-planning-info): Fix bug with looking for keyword + only at column 0. + * org-agenda.el (org-agenda-custom-commands-local-options): Add option for tags filter preset. (org-prepare-agenda): Store filter preset as a property on the diff --git a/lisp/org.el b/lisp/org.el index 87bbc02cf..88174f308 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9297,7 +9297,9 @@ be removed." (goto-char (match-end 0)) (if (eobp) (insert "\n") (forward-char 1)) (when (and (not what) - (not (looking-at org-keyword-time-not-clock-regexp))) + (not (looking-at + (concat "[ \t]*" + org-keyword-time-not-clock-regexp)))) ;; Nothing to add, nothing to remove...... :-) (throw 'exit nil)) (if (and (not (looking-at outline-regexp))