diff options
| author | Aidan Gauland <aidalgol@no8wireless.co.nz> | 2013-06-09 18:39:40 +1200 |
|---|---|---|
| committer | Aidan Gauland <aidalgol@no8wireless.co.nz> | 2013-06-09 18:39:40 +1200 |
| commit | 88b00caa0aa5dea65256a82008281566efa0622b (patch) | |
| tree | d390b28f718733e54fec6fe2feabc6c118c4a4a7 /lisp/eshell/em-script.el | |
| parent | 5bf97bfc6730fa2a4ca187cadbb689d79178eafc (diff) | |
| download | emacs-88b00caa0aa5dea65256a82008281566efa0622b.tar.gz | |
Tidy module initialisation functions
* eshell/em-term.el (eshell-visual-command-p): New function.
(eshell-term-initialize): Move long lambda to separate function eshell-visual-command-p.
* eshell/em-dirs.el (eshell-dirs-initialise): Add missing #' to lambda.
* eshell/em-script.el (eshell-script-initialize): Add missing #' to lambda.
Diffstat (limited to 'lisp/eshell/em-script.el')
| -rw-r--r-- | lisp/eshell/em-script.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/eshell/em-script.el b/lisp/eshell/em-script.el index 13ae6941dde..b073928738f 100644 --- a/lisp/eshell/em-script.el +++ b/lisp/eshell/em-script.el @@ -61,9 +61,10 @@ This includes when running `eshell-command'." "Initialize the script parsing code." (make-local-variable 'eshell-interpreter-alist) (setq eshell-interpreter-alist - (cons '((lambda (file args) - (string= (file-name-nondirectory file) - "eshell")) . eshell/source) + (cons (cons #'(lambda (file args) + (string= (file-name-nondirectory file) + "eshell")) + 'eshell/source) eshell-interpreter-alist)) (make-local-variable 'eshell-complex-commands) (setq eshell-complex-commands |
