1

Override default echo area message

This commit is contained in:
Jessie Hildebrandt 2023-09-21 15:07:44 -04:00
parent 13f5221395
commit fb27c895d4

View File

@ -290,6 +290,12 @@ DOCSTRING is an optional form that is discarded upon expansion."
;; emacs ;; emacs
;; ---------------------------------- ;; ;; ---------------------------------- ;;
(defun display-startup-echo-area-message ()
"Display a blank message in the echo area on startup.
This overrides the default `display-startup-echo-area-message' function."
(message ""))
(defun user/ensure-region-active (func &rest args) (defun user/ensure-region-active (func &rest args)
"Apply ARGS to FUNC only if `region-active-p' is non-nil." "Apply ARGS to FUNC only if `region-active-p' is non-nil."
(when (region-active-p) (when (region-active-p)