aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell/em-basic.el
diff options
context:
space:
mode:
authorJim Porter2023-01-17 20:51:15 -0800
committerJim Porter2023-01-18 09:14:59 -0800
commitdc3f85fd4b00b4f43d781eb5803a995019a57d57 (patch)
treeb39f013f6382dd8fc730e7a3e7c667513b7e90c4 /lisp/eshell/em-basic.el
parent6a8338a8bc85d891a42644354925ffb4a93d93a6 (diff)
downloademacs-dc3f85fd4b00b4f43d781eb5803a995019a57d57.tar.gz
emacs-dc3f85fd4b00b4f43d781eb5803a995019a57d57.zip
Use proper types for Eshell warnings
* lisp/eshell/esh-var.el (eshell-get-variable): * lisp/eshell/em-basic (eshell/echo): Don't use ':warning'; that's a warning level, not a warning type.
Diffstat (limited to 'lisp/eshell/em-basic.el')
-rw-r--r--lisp/eshell/em-basic.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/eshell/em-basic.el b/lisp/eshell/em-basic.el
index dfbe4db0896..bfff3bdf56e 100644
--- a/lisp/eshell/em-basic.el
+++ b/lisp/eshell/em-basic.el
@@ -132,7 +132,8 @@ or `eshell-printn' for display."
132 ;; bug#27361. 132 ;; bug#27361.
133 (when (equal output-newline '(nil)) 133 (when (equal output-newline '(nil))
134 (display-warning 134 (display-warning
135 :warning "To terminate with a newline, you should use -N instead.")) 135 '(eshell echo)
136 "To terminate with a newline, you should use -N instead."))
136 (eshell-echo args output-newline)))) 137 (eshell-echo args output-newline))))
137 138
138(defun eshell/printnl (&rest args) 139(defun eshell/printnl (&rest args)