mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 23:41:38 -05:00
Ensure the buffer local value of syntax-propertize-function
is set
This caused much headache. This variable really should be automatically buffer local.
This commit is contained in:
parent
5caf82cf81
commit
4f73d1397e
1 changed files with 2 additions and 2 deletions
|
@ -2365,8 +2365,8 @@ When the kernel restarts, insert a new prompt."
|
||||||
(lambda (state)
|
(lambda (state)
|
||||||
(unless (get-text-property
|
(unless (get-text-property
|
||||||
(nth 8 state) 'font-lock-fontified)
|
(nth 8 state) 'font-lock-fontified)
|
||||||
(when sff (funcall sff state))))))))
|
(when sff (funcall sff state)))))))))
|
||||||
syntax-propertize-function spf))
|
(setq-local syntax-propertize-function spf))
|
||||||
(font-lock-mode)))
|
(font-lock-mode)))
|
||||||
|
|
||||||
(defun jupyter-repl-insert-banner (banner)
|
(defun jupyter-repl-insert-banner (banner)
|
||||||
|
|
Loading…
Add table
Reference in a new issue