277 |
;; `pcomplete-arg-quote-list' should only be set after all the |
;; `pcomplete-arg-quote-list' should only be set after all the |
278 |
;; load-hooks for any other extension modules have been run, which |
;; load-hooks for any other extension modules have been run, which |
279 |
;; is true at the time `eshell-mode-hook' is run |
;; is true at the time `eshell-mode-hook' is run |
|
(make-local-hook 'eshell-mode-hook) |
|
280 |
(add-hook 'eshell-mode-hook |
(add-hook 'eshell-mode-hook |
281 |
(function |
(function |
282 |
(lambda () |
(lambda () |
283 |
(set (make-local-variable 'pcomplete-arg-quote-list) |
(set (make-local-variable 'pcomplete-arg-quote-list) |
284 |
eshell-special-chars-outside-quoting))) nil t) |
eshell-special-chars-outside-quoting))) nil t) |
|
(make-local-hook 'pcomplete-quote-arg-hook) |
|
285 |
(add-hook 'pcomplete-quote-arg-hook 'eshell-quote-backslash nil t) |
(add-hook 'pcomplete-quote-arg-hook 'eshell-quote-backslash nil t) |
286 |
(define-key eshell-mode-map [(meta tab)] 'lisp-complete-symbol) |
(define-key eshell-mode-map [(meta tab)] 'lisp-complete-symbol) |
287 |
(define-key eshell-mode-map [(meta control ?i)] 'lisp-complete-symbol) |
(define-key eshell-mode-map [(meta control ?i)] 'lisp-complete-symbol) |