Browse Source

Bug fix for clock drawers.

Carsten Dominik 17 years ago
parent
commit
3a94b2d07f
2 changed files with 3 additions and 1 deletions
  1. 3 0
      ChangeLog
  2. 0 1
      lisp/org-clock.el

+ 3 - 0
ChangeLog

@@ -1,5 +1,8 @@
 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
 
+	* lisp/org-clock.el (org-clock-find-position): Don't include notes
+	into clock drawer.
+
 	* lisp/org-archive.el (org-archive-subtree): No longer remove an
 	extra line after cutting the subtree.  `org-cut-subtree' already
 	takes care of this.

+ 0 - 1
lisp/org-clock.el

@@ -295,7 +295,6 @@ the clocking selection, associated with the letter `d'."
 	;; Wrap current entries into a new drawer
 	(goto-char last)
 	(beginning-of-line 2)
-	(if (org-at-item-p) (org-end-of-item))
 	(insert ":END:\n")
 	(beginning-of-line 0)
 	(org-indent-line-function)