Parcourir la source

Fix compiler warnings.

* org-attach.el (vc-git-root):
* ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
Bastien Guerry il y a 11 ans
Parent
commit
138f18d3ce
2 fichiers modifiés avec 3 ajouts et 0 suppressions
  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"