[emacs] Fixes atu/jupyter-ascending-sync

This commit is contained in:
2023-11-20 13:38:26 +01:00
parent 1b8095559b
commit 1d0c8b75a3

2
.emacs
View File

@@ -861,7 +861,7 @@
"Runs synchronization with jupyter-ascending "
(interactive)
(when (string-match-p ".sync.py\\'" (buffer-name))
(unless atu/jupyter-sync-inhibit
(unless (and (boundp 'atu/jupyter-sync-inhibit) atu/jupyter-sync-inhibit)
(call-process "python"
nil nil nil
"-m" "jupyter_ascending.requests.sync" "--filename" (buffer-file-name)