Function: helpful--trace

helpful--trace is a byte-compiled function defined in helpful.el.

Signature

(helpful--trace BUTTON)

Documentation

Toggle tracing for the current symbol.

Source Code

;; Defined in ~/.emacs.d/elpa/helpful-20250408.334/helpful.el
(defun helpful--trace (button)
  "Toggle tracing for the current symbol."
  (let ((sym (button-get button 'symbol)))
    (if (trace-is-traced sym)
        (untrace-function sym)
      (trace-function sym)))
  (helpful-update))