summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-12-06 10:03:04 +0100
committerCarsten Dominik <carsten.dominik@gmail.com>2010-12-06 10:03:04 +0100
commit73d361d8444e61b118564a6bf6143bebfb307b7a (patch)
treea2be35d2c40cfbfaf6a8156e35b7f62cbd5451ec
parent65782036239c5a348b89972748737248c838cb62 (diff)
downloadorg-mode-73d361d8444e61b118564a6bf6143bebfb307b7a.tar.gz
Empty properties when cloning an entry
Patch by Mike Mc Lean
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 66514a2..e5a20d3 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -7603,7 +7603,7 @@ and still retain the repeater to cover future instances of the task."
(and idprop (if org-clone-delete-id
(org-entry-delete nil "ID")
(org-id-get-create t)))
- (while (re-search-forward org-property-drawer-re nil t)
+ (while (re-search-forward org-property-start-re nil t)
(org-remove-empty-drawer-at "PROPERTIES" (point)))
(goto-char (point-min))
(when doshift