Skip to content

Commit

Permalink
Revert watch buffer switch on watch-dwim
Browse files Browse the repository at this point in the history
  • Loading branch information
svaante committed Dec 29, 2024
1 parent 4eaa7be commit aa47ded
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dape.el
Original file line number Diff line number Diff line change
Expand Up @@ -2635,6 +2635,8 @@ NO-REMOVE limits usage to only adding watched vars."
(setq dape--watched (cl-delete watched dape--watched)))
(unless no-add
(push (list :name expression) dape--watched)))
(when (called-interactively-p 'interactive)
(dape--display-buffer (dape--info-get-buffer-create 'dape-info-watch-mode)))
(run-hooks 'dape-update-ui-hook))

(defun dape-evaluate-expression (conn expression)
Expand Down

0 comments on commit aa47ded

Please sign in to comment.