Skip to content

Commit

Permalink
Add placeholder in scope info buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
svaante committed Nov 7, 2024
1 parent 277105a commit 5ce71a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dape.el
Original file line number Diff line number Diff line change
Expand Up @@ -4252,7 +4252,9 @@ or `prefix' part of variable string."
;; FIXME Empty header line when adapter is killed
(define-derived-mode dape-info-scope-mode dape-info-parent-mode "Scope"
"Major mode for Dape info scope."
:interactive nil)
:interactive nil
(dape--info-update-with
(insert "No scope information available.")))

(cl-defmethod dape--info-revert (&context (major-mode (eql dape-info-scope-mode))
&optional _ignore-auto _noconfirm _preserve-modes)
Expand Down

0 comments on commit 5ce71a4

Please sign in to comment.