Variable: eshell-allow-commands

eshell-allow-commands is a variable defined in esh-cmd.el.gz.

Value

t

Documentation

If non-nil, allow evaluating command forms (including Lisp forms).

If you want to forbid command forms, you can let-bind this to a non-nil value before calling eshell-do-eval. Then, any command forms will signal eshell-commands-forbidden. This is useful if, for example, you want to evaluate simple expressions like variable expansions, but not fully-evaluate the command. See also eshell-complete-parse-arguments.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defvar eshell-allow-commands t
  "If non-nil, allow evaluating command forms (including Lisp forms).
If you want to forbid command forms, you can let-bind this to a
non-nil value before calling `eshell-do-eval'.  Then, any command
forms will signal `eshell-commands-forbidden'.  This is useful
if, for example, you want to evaluate simple expressions like
variable expansions, but not fully-evaluate the command.  See
also `eshell-complete-parse-arguments'.")