Skip to content

Commit

Permalink
fix commit 4006866 - don't provide argument to (org-src-source-buffer)
Browse files Browse the repository at this point in the history
  • Loading branch information
methuselah-0 committed Oct 22, 2020
1 parent 081aa41 commit 6f2d218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jedi-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

(defvar jedi:source-dir
(if (string-match "\*Org Src" (buffer-name (current-buffer)))
(file-name-directory (buffer-file-name (org-src-source-buffer (current-buffer))))
(file-name-directory (buffer-file-name (org-src-source-buffer)))
(if load-file-name
(file-name-directory load-file-name)
default-directory)))
Expand Down

0 comments on commit 6f2d218

Please sign in to comment.