Function: doom-modeline--debug-edebug
doom-modeline--debug-edebug is a byte-compiled function defined in
doom-modeline-segments.el.
Signature
(doom-modeline--debug-edebug)
Documentation
The current edebug state.
Source Code
;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-segments.el
(defsubst doom-modeline--debug-edebug ()
"The current `edebug' state."
(when (bound-and-true-p edebug-mode)
(propertize (doom-modeline-debug-icon 'doom-modeline-info)
'help-echo (format "EDebug (%s)
mouse-1: Show help
mouse-2: Next
mouse-3: Stop debugging"
edebug-execution-mode)
'mouse-face 'doom-modeline-highlight
'local-map (let ((map (make-sparse-keymap)))
(define-key map [mode-line mouse-1]
#'edebug-help)
(define-key map [mode-line mouse-2]
#'edebug-next-mode)
(define-key map [mode-line mouse-3]
#'edebug-stop)
map))))