From dcc25b7e7f6145a0e710e1cd54ac6eb8e95465b1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 11 Mar 2006 15:13:19 +0000 Subject: [PATCH] (eshell-prefer-to-shell): Variable deleted; the way it is implemented is too unclean. --- lisp/eshell/eshell.el | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lisp/eshell/eshell.el b/lisp/eshell/eshell.el index ed9e3e56c9e..cfc2f05b931 100644 --- a/lisp/eshell/eshell.el +++ b/lisp/eshell/eshell.el @@ -323,24 +323,6 @@ the tasks accomplished by such tools." (= (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 -- 2.39.2