# HG changeset patch # User Richard M. Stallman # Date 1142089999 0 # Node ID a2b2a74116cf0ad3e14d4bc8b5c4ce2a4fc5d5f7 # Parent d73f157167c62243952f52002be34578b2bba320 (eshell-prefer-to-shell): Variable deleted; the way it is implemented is too unclean. diff -r d73f157167c6 -r a2b2a74116cf lisp/eshell/eshell.el --- a/lisp/eshell/eshell.el Sat Mar 11 15:11:09 2006 +0000 +++ b/lisp/eshell/eshell.el Sat Mar 11 15:13:19 2006 +0000 @@ -323,24 +323,6 @@ (= (file-modes eshell-directory-name) eshell-private-directory-modes))) -(defcustom eshell-prefer-to-shell nil - "*If non-nil, \\[shell-command] will use Eshell instead of shell-mode." - :set (lambda (symbol value) - ;; modifying the global keymap directly is odious, but how - ;; else to achieve the takeover? - (if value - (progn - (define-key global-map [(meta ?!)] 'eshell-command) -;;; (define-key global-map [(meta ?|)] 'eshell-command-on-region) - ) - (define-key global-map [(meta ?!)] 'shell-command) -;;; (define-key global-map [(meta ?|)] 'shell-command-on-region) - ) - (set symbol value)) - :type 'boolean - :require 'eshell - :group 'eshell) - ;;;_* Running Eshell ;; ;; There are only three commands used to invoke Eshell. The first two