From be8455d67c1d3355bef737acc4feec2564e3eb74 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 13 Jul 2020 01:46:15 -0400 Subject: [PATCH] Load tramp after ob-jupyter To prevent a void-function tramp-tramp-file-p error due to an oversight upstream. i.e. jupyter-tramp-file-name-p is inlined at compile time in ob-jupyter.el, which calls tramp-tramp-file-p but doesn't load tramp, resulting in the missing function error. --- modules/lang/org/contrib/jupyter.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/lang/org/contrib/jupyter.el b/modules/lang/org/contrib/jupyter.el index c47494be2..bdff9e5af 100644 --- a/modules/lang/org/contrib/jupyter.el +++ b/modules/lang/org/contrib/jupyter.el @@ -24,4 +24,6 @@ (add-to-list 'org-src-lang-modes (cons lang-name (intern lang-tail))))) (with-demoted-errors "Jupyter: %s" (require lang nil t) - (require 'ob-jupyter nil t)))))) + (require 'ob-jupyter nil t))))) + :config + (require 'tramp))