We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
syntax-propertize-function
1 parent 1182505 commit 0df3a28Copy full SHA for 0df3a28
jupyter-julia.el
@@ -211,9 +211,11 @@ if !isdefined(Main, :__JUPY_saved_dir)
211
end"))))
212
213
(cl-defmethod jupyter-repl-after-init (&context (jupyter-lang julia))
214
- (add-function
215
- :after (local 'syntax-propertize-function)
216
- #'jupyter-julia--propertize-repl-mode-char)
+ (if syntax-propertize-function
+ (add-function
+ :after (local 'syntax-propertize-function)
217
+ #'jupyter-julia--propertize-repl-mode-char)
218
+ (setq-local syntax-propertize-function #'jupyter-julia--propertize-repl-mode-char))
219
(jupyter-julia--setup-hooks jupyter-current-client)
220
;; Setup hooks after restart as well
221
(jupyter-add-hook jupyter-current-client 'jupyter-iopub-message-hook
0 commit comments