fix: remove the default to *shell* to avoid sending commands to an unexpected process
1 files changed, 2 insertions(+), 1 deletions(-)

M wisp-mode.el
M wisp-mode.el +2 -1
@@ 218,7 218,7 @@ prev, not to prev+tab."
     (wisp--indent curr)))
 
 
-(defvar wisp--eval-process-target "*shell*")
+(defvar wisp--eval-process-target nil)
 (defun wisp--eval-block (arg)
   "Send the current block to a target buffer (by default *shell*).
 

          
@@ 227,6 227,7 @@ Set ARG \\<mapvar> & \\[command] to sele
 Similar to `eval-defun'."
   (interactive "P")
   (if (or arg
+          (not wisp--eval-process-target) ;; unset
           (not (process-live-p (get-buffer-process
                                 wisp--eval-process-target))))
       (setq wisp--eval-process-target