# HG changeset patch # User John Wiegley # Date 990204011 0 # Node ID 225c25d9631cd2f8755bf7efc8e71ef6d260edb3 # Parent 431f430082e94580f100b26a4031f40a6d3d578a (eshell-explicit-command-char): A new configuration variable, which determines the initial character that forces use of an external version of a command. The default is *, but may be set to \, for example. (eshell-explicit-command): Use `eshell-explicit-command-char' instead of ?*. diff -r 431f430082e9 -r 225c25d9631c lisp/eshell/esh-ext.el --- a/lisp/eshell/esh-ext.el Fri May 18 16:39:49 2001 +0000 +++ b/lisp/eshell/esh-ext.el Fri May 18 16:40:11 2001 +0000 @@ -150,6 +150,13 @@ :type 'integer :group 'eshell-ext) +(defcustom eshell-explicit-command-char ?* + "*If this char occurs before a command name, call it externally. +That is, although vi may be an alias, *vi will always call the +external version. UNIX users may prefer this variable to be \." + :type 'character + :group 'eshell-ext) + ;;; Functions: (defun eshell-ext-initialize () @@ -161,7 +168,7 @@ "If a command name begins with `*', call it externally always. This bypasses all Lisp functions and aliases." (when (and (> (length command) 1) - (eq (aref command 0) ?*)) + (eq (aref command 0) eshell-explicit-command-char)) (let ((cmd (eshell-search-path (substring command 1)))) (if cmd (or (eshell-external-command cmd args)