branch: elpa/typst-ts-mode commit 430f0b8d647ca320a674cbccda2b6ccdbe145cde Author: Meow King <mr.meowk...@anche.no> Commit: Meow King <mr.meowk...@anche.no>
fix: called-interactively-p misses one argument --- typst-ts-watch-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/typst-ts-watch-mode.el b/typst-ts-watch-mode.el index b0a62ffd7b..31e24f3e87 100644 --- a/typst-ts-watch-mode.el +++ b/typst-ts-watch-mode.el @@ -111,7 +111,8 @@ PROC: process; OUTPUT: new output from PROC." (defun typst-ts-watch-display-buffer () "Display typst watch process buffer." (interactive) - (when (and (called-interactively-p) (not (buffer-live-p typst-ts-watch-process-buffer-name))) + (when (and (called-interactively-p 'interactive) + (not (buffer-live-p typst-ts-watch-process-buffer-name))) (user-error "The typst watch process buffer '%s' is not alive!" typst-ts-watch-process-buffer-name)) (let ((buf (get-buffer-create typst-ts-watch-process-buffer-name))) (display-buffer buf typst-ts-watch-display-buffer-parameters)))