diff lisp/eshell/eshell.el @ 37281:85c38f2eac06

(eshell-command): Needed a "%s" format specifier, in case the buffer contains percent characters.
author John Wiegley <johnw@newartisans.com>
date Mon, 09 Apr 2001 23:34:16 +0000
parents b09ded79f0f9
children 33a9a90f3e76
line wrap: on
line diff
--- a/lisp/eshell/eshell.el	Mon Apr 09 15:11:06 2001 +0000
+++ b/lisp/eshell/eshell.el	Mon Apr 09 23:34:16 2001 +0000
@@ -389,7 +389,7 @@
 	      (message "(There was no command output)")
 	      (kill-buffer buf))
 	     ((= len 1)
-	      (message (buffer-string))
+	      (message "%s" (buffer-string))
 	      (kill-buffer buf))
 	     (t
 	      (save-selected-window