From 2b7677c097e9fae2752513cbe2a511cdff67d674 Mon Sep 17 00:00:00 2001 From: Aaron Ecay Date: Thu, 10 May 2018 01:10:52 +0100 Subject: [PATCH] ob-js.el: fix declare-function calls for external library fns Otherwise, check-declare gives us errors if these dependencies are not installed. --- lisp/ob-js.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/ob-js.el b/lisp/ob-js.el index 32ae6a3d3..0f009dace 100644 --- a/lisp/ob-js.el +++ b/lisp/ob-js.el @@ -41,11 +41,11 @@ (require 'ob) (declare-function run-mozilla "ext:moz" (arg)) -(declare-function httpd-start "simple-httpd" ()) -(declare-function run-skewer "skewer-mode" ()) -(declare-function skewer-repl "skewer-repl" ()) -(declare-function indium-run-node "indium-nodejs" (command)) -(declare-function indium-eval "indium-interaction" (string &optional callback)) +(declare-function httpd-start "ext:simple-httpd" ()) +(declare-function run-skewer "ext:skewer-mode" ()) +(declare-function skewer-repl "ext:skewer-repl" ()) +(declare-function indium-run-node "ext:indium-nodejs" (command)) +(declare-function indium-eval "ext:indium-interaction" (string &optional callback)) (defvar org-babel-default-header-args:js '() "Default header arguments for js code blocks.")