summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2011-10-28 17:26:22 +0200
committerBastien Guerry <bzg@altern.org>2011-10-28 17:26:22 +0200
commit728611fa77ea6af2328926d0614b2fbb010b07df (patch)
tree9355e008bfe384bade19927ca8ffe63a2e549759
parentef0885078326610c06a1009d22c9a1c29508307f (diff)
downloadorg-mode-728611fa77ea6af2328926d0614b2fbb010b07df.tar.gz
Fix compiler warnings.
-rw-r--r--lisp/ob-calc.el4
-rw-r--r--lisp/org-agenda.el1
-rw-r--r--lisp/org-colview.el2
-rw-r--r--lisp/org-docbook.el2
-rw-r--r--lisp/org-exp.el1
-rw-r--r--lisp/org-html.el3
6 files changed, 13 insertions, 0 deletions
diff --git a/lisp/ob-calc.el b/lisp/ob-calc.el
index 44ed82b..0b0cfd4 100644
--- a/lisp/ob-calc.el
+++ b/lisp/ob-calc.el
@@ -33,6 +33,10 @@
(require 'calc-store))
(eval-when-compile (require 'ob-comint))
+(declare-function calc-store-into "calc-store" (&optional var))
+(declare-function calc-recall "calc-store" (&optional var))
+(declare-function math-evaluate-expr "calc-ext" (x))
+
(defvar org-babel-default-header-args:calc nil
"Default arguments for evaluating an calc source block.")
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 7487959..ad6f95f 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -4584,6 +4584,7 @@ the documentation of `org-diary'."
(setq results (append results rtn))))))))
results))))
+(defvar org-heading-keyword-regexp-format) ; defined in org.el
(defun org-agenda-get-todos ()
"Return the TODO information for agenda display."
(let* ((props (list 'face nil
diff --git a/lisp/org-colview.el b/lisp/org-colview.el
index 158354b..c1fb555 100644
--- a/lisp/org-colview.el
+++ b/lisp/org-colview.el
@@ -1142,6 +1142,8 @@ calc function to get values from base elements"
;;; Dynamic block for Column view
+(defvar org-heading-regexp) ; defined in org.el
+(defvar org-heading-keyword-regexp-format) ; defined in org.el
(defun org-columns-capture-view (&optional maxlevel skip-empty-rows)
"Get the column view of the current buffer or subtree.
The first optional argument MAXLEVEL sets the level limit. A
diff --git a/lisp/org-docbook.el b/lisp/org-docbook.el
index e70df25..6b10354 100644
--- a/lisp/org-docbook.el
+++ b/lisp/org-docbook.el
@@ -393,6 +393,8 @@ in a window. A non-interactive call will only return the buffer."
(org-open-file pdffile)
(error "PDF file was not produced"))))
+(defvar org-heading-keyword-regexp-format) ; defined in org.el
+
;;;###autoload
(defun org-export-as-docbook (&optional hidden ext-plist
to-buffer body-only pub-dir)
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 4324d38..fa54242 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -1640,6 +1640,7 @@ from the buffer."
(org-if-unprotected
(replace-match "")))))
+(defvar org-heading-keyword-regexp-format) ; defined in org.el
(defun org-export-protect-quoted-subtrees ()
"Mark quoted subtrees with the protection property."
(let ((org-re-quote (format org-heading-keyword-regexp-format
diff --git a/lisp/org-html.el b/lisp/org-html.el
index 30d7c90..67ef545 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -1054,6 +1054,9 @@ OPT-PLIST is the export options list."
line))
;;; org-export-as-html
+
+(defvar org-heading-keyword-regexp-format) ; defined in org.el
+
;;;###autoload
(defun org-export-as-html (arg &optional hidden ext-plist
to-buffer body-only pub-dir)