File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 29
29
(eval-when-compile (require 'subr-x ))
30
30
(require 'jupyter-repl )
31
31
32
- (declare-function julia-latexsub-or- indent " ext:julia-mode" (arg ))
32
+ (declare-function julia-indent-line " ext:julia-mode" ())
33
33
34
34
(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 ))
37
37
38
38
(cl-defmethod jupyter-load-file-code (file &context (jupyter-lang julia))
39
39
(format " include(\" %s \" ); " file))
@@ -91,7 +91,7 @@ manual for <section>. Otherwise follow the link normally."
91
91
(if (string= url " @ref" )
92
92
; ; Links have the form `fun`
93
93
(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 ))
95
95
(jupyter-inspect fun (1- (length fun)))
96
96
(goto-char (point-max ))
97
97
(jupyter-repl-replace-cell-code (concat " ?" fun))
You can’t perform that action at this time.
0 commit comments