Function: eshell-always-debug-command
eshell-always-debug-command is a byte-compiled function defined in
esh-util.el.gz.
Signature
(eshell-always-debug-command KIND STRING &rest OBJECTS)
Documentation
Output a debugging message to *eshell last cmd*.
KIND is the kind of message to log. STRING and OBJECTS are as
format-message (which see).
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-util.el.gz
(defun eshell-always-debug-command (kind string &rest objects)
"Output a debugging message to `*eshell last cmd*'.
KIND is the kind of message to log. STRING and OBJECTS are as
`format-message' (which see)."
(declare (indent 1))
(with-current-buffer (get-buffer-create eshell-debug-command-buffer)
(insert "\n\C-l\n[" (symbol-name kind) "] "
(apply #'format-message string objects))))