File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2929(eval-when-compile (require 'subr-x ))
3030(require 'jupyter-repl )
3131
32- (declare-function julia-latexsub-or- indent " ext:julia-mode" (arg ))
32+ (declare-function julia-indent-line " ext:julia-mode" ())
3333
3434(cl-defmethod jupyter-indent-line (&context (major-mode julia-mode))
35- " Call `julia-latexsub-or- indent' ."
36- (call-interactively # ' julia-latexsub-or- indent ))
35+ " Call `julia-indent-line ' ."
36+ (julia-indent-line ))
3737
3838(cl-defmethod jupyter-load-file-code (file &context (jupyter-lang julia))
3939 (format " include(\" %s \" ); " file))
@@ -91,7 +91,7 @@ manual for <section>. Otherwise follow the link normally."
9191 (if (string= url " @ref" )
9292 ; ; Links have the form `fun`
9393 (let ((fun (substring link-text 1 -1 )))
94- (if (not (eq major -mode 'jupyter-repl-mode ))
94+ (if (not (derived -mode-p 'jupyter-repl-mode ))
9595 (jupyter-inspect fun (1- (length fun)))
9696 (goto-char (point-max ))
9797 (jupyter-repl-replace-cell-code (concat " ?" fun))
You can’t perform that action at this time.
0 commit comments