diff options
| author | Richard M. Stallman | 2006-03-11 15:13:19 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-03-11 15:13:19 +0000 |
| commit | dcc25b7e7f6145a0e710e1cd54ac6eb8e95465b1 (patch) | |
| tree | 46d16e2c82130a7d408edcb3bd3b51ee080ec61b | |
| parent | 0c93f71581de89217200927488d337425ef4fdb3 (diff) | |
| download | emacs-dcc25b7e7f6145a0e710e1cd54ac6eb8e95465b1.tar.gz emacs-dcc25b7e7f6145a0e710e1cd54ac6eb8e95465b1.zip | |
(eshell-prefer-to-shell): Variable deleted;
the way it is implemented is too unclean.
| -rw-r--r-- | lisp/eshell/eshell.el | 18 |
1 files changed, 0 insertions, 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." | |||
| 323 | (= (file-modes eshell-directory-name) | 323 | (= (file-modes eshell-directory-name) |
| 324 | eshell-private-directory-modes))) | 324 | eshell-private-directory-modes))) |
| 325 | 325 | ||
| 326 | (defcustom eshell-prefer-to-shell nil | ||
| 327 | "*If non-nil, \\[shell-command] will use Eshell instead of shell-mode." | ||
| 328 | :set (lambda (symbol value) | ||
| 329 | ;; modifying the global keymap directly is odious, but how | ||
| 330 | ;; else to achieve the takeover? | ||
| 331 | (if value | ||
| 332 | (progn | ||
| 333 | (define-key global-map [(meta ?!)] 'eshell-command) | ||
| 334 | ;;; (define-key global-map [(meta ?|)] 'eshell-command-on-region) | ||
| 335 | ) | ||
| 336 | (define-key global-map [(meta ?!)] 'shell-command) | ||
| 337 | ;;; (define-key global-map [(meta ?|)] 'shell-command-on-region) | ||
| 338 | ) | ||
| 339 | (set symbol value)) | ||
| 340 | :type 'boolean | ||
| 341 | :require 'eshell | ||
| 342 | :group 'eshell) | ||
| 343 | |||
| 344 | ;;;_* Running Eshell | 326 | ;;;_* Running Eshell |
| 345 | ;; | 327 | ;; |
| 346 | ;; There are only three commands used to invoke Eshell. The first two | 328 | ;; There are only three commands used to invoke Eshell. The first two |