瀏覽代碼

Added forward var decl to quiet compiler warning

* lisp/org.el (org-property-drawer-re): Forward declaration to avoid
  compiler warning.
John Wiegley 15 年之前
父節點
當前提交
7e2158651d
共有 1 個文件被更改,包括 3 次插入0 次删除
  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.