summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-09-02 13:33:52 +0200
committerBastien Guerry <bzg@altern.org>2013-09-02 13:33:52 +0200
commit138f18d3ce692740cbca2a3af47ee57bbaa7c955 (patch)
tree8446f51df76fc36acbc53210b75fba5261f4468c
parent3726464268c2fc65ab3f39f7a229fc533f0cfdae (diff)
downloadorg-mode-138f18d3ce692740cbca2a3af47ee57bbaa7c955.tar.gz
Fix compiler warnings.
* org-attach.el (vc-git-root): * ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
-rw-r--r--lisp/ob-shen.el1
-rw-r--r--lisp/org-attach.el2
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ob-shen.el b/lisp/ob-shen.el
index a41580f..dc6313d 100644
--- a/lisp/ob-shen.el
+++ b/lisp/ob-shen.el
@@ -36,6 +36,7 @@
(require 'ob)
(declare-function shen-eval-defun "ext:inf-shen" (&optional and-go))
+(declare-function org-babel-ruby-var-to-ruby "ob-ruby" (var))
(defvar org-babel-default-header-args:shen '()
"Default header arguments for shen code blocks.")
diff --git a/lisp/org-attach.el b/lisp/org-attach.el
index 9bf3cda..898d911 100644
--- a/lisp/org-attach.el
+++ b/lisp/org-attach.el
@@ -42,6 +42,8 @@
(require 'org-id)
(require 'org)
+(declare-function vc-git-root "vc-git" (file))
+
(defgroup org-attach nil
"Options concerning entry attachments in Org-mode."
:tag "Org Attach"