Function: actypes::display-value-and-remove-region

actypes::display-value-and-remove-region is an interactive and byte-compiled function defined in hactypes.el.

Signature

(actypes::display-value-and-remove-region LISP-EXPR START END)

Documentation

Evaluate LISP-EXPR and remove region from START to END.

Display a message with the result value of the evaluation. Return any non-nil value or t.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hactypes.el
(defact display-value-and-remove-region (lisp-expr start end)
 "Evaluate LISP-EXPR and remove region from START to END.
Display a message with the result value of the evaluation.
Return any non-nil value or t."
  (interactive "SDisplay value of Lisp expression: ")
  (delete-region start end)
  (let ((result (hypb:eval lisp-expr)))
    (message "%S" result)
    (or result t)))