Function: dape-info-watch-edit-mode
dape-info-watch-edit-mode is an interactive and natively compiled
function defined in dape.el.
Signature
(dape-info-watch-edit-mode)
Documentation
Major mode for editing watch expressions.
In addition to any hooks its parent mode dape-info-watch-mode might
have run, this mode runs the hook dape-info-watch-edit-mode-hook, as
the final or penultimate step during initialization.
C-c C-c dape-info-watch-finish-edit
C-c C-k dape-info-watch-abort-changes
Key Bindings
dape-info-watch-mode-map C-x C-q
Source Code
;; Defined in /nix/store/1fiaif8pifqj2jh65rbg3fkhg3i56q42-emacs-packages-deps/share/emacs/site-lisp/elpa/dape-0.27.1/dape.el
(define-derived-mode dape-info-watch-edit-mode dape-info-watch-mode "Watch Edit"
"Major mode for editing watch expressions."
(set-buffer-modified-p nil)
(setq revert-buffer-function #'dape--info-revert
buffer-undo-list nil
buffer-read-only nil
font-lock-defaults '(dape--info-watch-edit-font-lock-keywords))
(message "%s" (substitute-command-keys
"Press \\[dape-info-watch-finish-edit] when finished \
or \\[dape-info-watch-abort-changes] to abort changes"))
(dape--info-set-related-buffers)
(revert-buffer))