Override default echo area message
This commit is contained in:
parent
13f5221395
commit
fb27c895d4
6
init.el
6
init.el
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user