jupyter-repl-initialize-fontification: Use regexp-quote

This commit is contained in:
Nathaniel Nicandro 2018-12-20 19:26:25 -06:00
parent 109ee2cce5
commit 675bfb0a38
No known key found for this signature in database
GPG key ID: C34814B309DD06B8

View file

@ -1559,7 +1559,7 @@ using `jupyter-repl-propertize-output'."
(when comment
(setq jupyter-repl-propertize-regex
(concat jupyter-repl-propertize-regex
"\\|" (string-trim comment)))))
"\\|" (regexp-quote (string-trim comment))))))
(font-lock-mode)))
(defun jupyter-repl-insert-banner (banner)