mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
jupyter-repl-after-change (julia): Generalize blink-paren-function integration
This commit is contained in:
parent
9114397f2c
commit
5651074ab3
1 changed files with 5 additions and 4 deletions
|
@ -121,12 +121,13 @@ Make the character after `point' invisible."
|
|||
(when (= beg (jupyter-repl-cell-code-beginning-position))
|
||||
(save-excursion
|
||||
(goto-char beg)
|
||||
(when (and (bound-and-true-p blink-paren-function)
|
||||
(eq (char-syntax (char-after)) ?\)))
|
||||
;; Spoof `last-command-event' so that a "No matching paren" message
|
||||
;; doesn't happen.
|
||||
(setq last-command-event ?\[))
|
||||
(cl-case (char-after)
|
||||
(?\]
|
||||
(when (bound-and-true-p blink-paren-function)
|
||||
;; Spoof `last-command-event' so that a "No matching paren" message
|
||||
;; doesn't happen.
|
||||
(setq last-command-event ?\[))
|
||||
;; Longer timeout to account for initial Pkg import and compilation.
|
||||
(let* ((jupyter-default-timeout jupyter-long-timeout)
|
||||
(pkg-prompt
|
||||
|
|
Loading…
Add table
Reference in a new issue