mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
(eshell-prefer-to-shell): Variable deleted;
the way it is implemented is too unclean.
This commit is contained in:
parent
0c93f71581
commit
dcc25b7e7f
1 changed files with 0 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue