Browse Source

Added forward var decl to quiet compiler warning

* lisp/org.el (org-property-drawer-re): Forward declaration to avoid
  compiler warning.
John Wiegley 15 years ago
parent
commit
7e2158651d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      lisp/org.el

+ 3 - 0
lisp/org.el

@@ -7158,6 +7158,9 @@ If yes, remember the marker and the distance to BEG."
 	      (if (org-on-heading-p) (backward-char 1))
 	      (point))))))
 
+(eval-when-compile
+  (defvar org-property-drawer-re))
+
 (defun org-clone-subtree-with-time-shift (n &optional shift)
   "Clone the task (subtree) at point N times.
 The clones will be inserted as siblings.