From 5ce71a4cf3367bd0d24e82a1ae6b870407d2af87 Mon Sep 17 00:00:00 2001 From: Daniel Pettersson Date: Thu, 7 Nov 2024 22:59:50 +0100 Subject: [PATCH] Add placeholder in scope info buffer --- dape.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dape.el b/dape.el index 039e168..1a60e50 100644 --- a/dape.el +++ b/dape.el @@ -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)