ob-smiles.el: Fix reference to free variable

* contrib/lisp/ob-smiles.el (molecule-jump): Format string with NAME
argument rather than undefined variable `path'.
This commit is contained in:
Kyle Meyer 2021-03-19 00:36:20 -04:00
parent 1738b455b3
commit dbc84311c0
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
(defun molecule-jump (name)
"Jump to molecule `NAME' definition."
(org-mark-ring-push)
(org-link-open-from-string (format "[[%s]]" path)))
(org-link-open-from-string (format "[[%s]]" name)))
(defun molecule-export (path desc backend)
"Export molecule to HTML format on `PATH' with `DESC' and `BACKEND'."