Преглед на файлове

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.