From 4d21da1df89370c96125093b641f3c16f4440ca4 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Mon, 15 Oct 2012 20:23:54 +0200 Subject: [PATCH] Implement ein:org-open --- lisp/ein-org.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/ein-org.el b/lisp/ein-org.el index 9de288b..646e863 100644 --- a/lisp/ein-org.el +++ b/lisp/ein-org.el @@ -27,7 +27,7 @@ ;;; Code: (require 'org) -(require 'ein-core) +(require 'ein-notebooklist) ;;;###autoload @@ -35,7 +35,8 @@ "Open IPython notebook specified by LINK-PATH. This function is to be used for FOLLOW function of `org-add-link-type'." - (error "Not implemented!")) + (destructuring-bind (&key url-or-port name) (read link-path) + (ein:notebooklist-open-notebook-by-name name url-or-port))) ;;;###autoload (defun ein:org-store-link ()