changeset 69385:a2b2a74116cf

(eshell-prefer-to-shell): Variable deleted; the way it is implemented is too unclean.
author Richard M. Stallman <rms@gnu.org>
date Sat, 11 Mar 2006 15:13:19 +0000
parents d73f157167c6
children 2e9fdd693b3f
files lisp/eshell/eshell.el
diffstat 1 files changed, 0 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- 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