Browse Source

Fix compiler warnings.

* org-attach.el (vc-git-root):
* ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
Bastien Guerry 6 years ago
parent
commit
138f18d3ce
2 changed files with 3 additions and 0 deletions
  1. 1 0
      lisp/ob-shen.el
  2. 2 0
      lisp/org-attach.el

+ 1 - 0
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.")

+ 2 - 0
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"