mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -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)
|
||||
(unless (get-text-property
|
||||
(nth 8 state) 'font-lock-fontified)
|
||||
(when sff (funcall sff state))))))))
|
||||
syntax-propertize-function spf))
|
||||
(when sff (funcall sff state)))))))))
|
||||
(setq-local syntax-propertize-function spf))
|
||||
(font-lock-mode)))
|
||||
|
||||
(defun jupyter-repl-insert-banner (banner)
|
||||
|
|
Loading…
Add table
Reference in a new issue