]> code.delx.au - gnu-emacs/commitdiff
(eshell-command): Needed a "%s" format specifier, in case the buffer
authorJohn Wiegley <johnw@newartisans.com>
Mon, 9 Apr 2001 23:34:16 +0000 (23:34 +0000)
committerJohn Wiegley <johnw@newartisans.com>
Mon, 9 Apr 2001 23:34:16 +0000 (23:34 +0000)
contains percent characters.

lisp/eshell/eshell.el

index 19701c03f70bf290b1eca99b7a155ba00fe7fb4b..4f682b5a314ecb41fa7b9951ddaa6fbfc4437777 100644 (file)
@@ -389,7 +389,7 @@ With prefix ARG, insert output into the current buffer at point."
              (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