1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 14:30:43 -08:00
emacs/lisp/eshell
Stefan Monnier 170266d096 Cleanup Eshell to rely less on dynamic scoping.
* lisp/eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
last-value, and ext-command here.  Bind `args' closer to `body'.
(temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
(eshell--args): Declare new dynamic var.
(eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
last-value, and ext-command.  Pass `args' to `body'.
(eshell-process-args): Bind eshell--args.
(eshell-set-option): Use eshell--args.
* lisp/eshell/eshell.el (eshell): Use derived-mode-p.
* lisp/eshell/esh-var.el (eshell-parse-variable): Use backquote.
(eshell-parse-variable-ref): Remove unused vars `end' and `err'.
(eshell-glob-function): Declare.
* lisp/eshell/esh-util.el: Require cl-lib.
(eshell-read-hosts-file): Avoid add-to-list.
* lisp/eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
`err'.
* lisp/eshell/em-unix.el (compilation-scroll-output, locate-history-list):
Declare.
(eshell/diff): Remove unused var `err'.
* lisp/eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
`killflag'.
* lisp/eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
* lisp/eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
first use.
* lisp/eshell/em-glob.el (eshell-glob-matches, message-shown):
Move declaration before first use.
* lisp/eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
* autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
rely on cl-return.
2013-09-12 01:20:07 -04:00
..
.gitignore Nuke arch-tags. 2011-01-15 15:16:57 -08:00
em-alias.el Cleanup Eshell to rely less on dynamic scoping. 2013-09-12 01:20:07 -04:00
em-banner.el Silence many eshell compilation warnings 2013-05-22 21:57:27 -07:00
em-basic.el Silence many eshell compilation warnings 2013-05-22 21:57:27 -07:00
em-cmpl.el * eshell/em-cmpl.el (eshell-cmpl-initialize): Replace obsolete alias 2013-06-01 11:00:14 -07:00
em-dirs.el Tidy module initialisation functions 2013-06-09 18:39:40 +12:00
em-glob.el Cleanup Eshell to rely less on dynamic scoping. 2013-09-12 01:20:07 -04:00
em-hist.el * lisp/eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar. 2013-05-07 00:57:02 -07:00
em-ls.el Cleanup Eshell to rely less on dynamic scoping. 2013-09-12 01:20:07 -04:00
em-pred.el Cleanup Eshell to rely less on dynamic scoping. 2013-09-12 01:20:07 -04:00
em-prompt.el Silence many eshell compilation warnings 2013-05-22 21:57:27 -07:00
em-rebind.el Cleanup Eshell to rely less on dynamic scoping. 2013-09-12 01:20:07 -04:00
em-script.el Tidy module initialisation functions 2013-06-09 18:39:40 +12:00
em-smart.el Silence many eshell compilation warnings 2013-05-22 21:57:27 -07:00
em-term.el Update Ehsell visual-commands documentation 2013-06-10 14:41:49 +12:00
em-tramp.el Silence many eshell compilation warnings 2013-05-22 21:57:27 -07:00
em-unix.el Cleanup Eshell to rely less on dynamic scoping. 2013-09-12 01:20:07 -04:00
em-xtra.el Silence many eshell compilation warnings 2013-05-22 21:57:27 -07:00
esh-arg.el Cleanup Eshell to rely less on dynamic scoping. 2013-09-12 01:20:07 -04:00
esh-cmd.el Cleanup Eshell to rely less on dynamic scoping. 2013-09-12 01:20:07 -04:00
esh-ext.el * eshell/esh-ext.el (eshell-external-command): Pass args to 2013-06-02 11:19:09 +02:00
esh-io.el Silence many eshell compilation warnings 2013-05-22 21:57:27 -07:00
esh-mode.el * lisp/eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization. 2013-09-11 12:00:37 -04:00
esh-module.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
esh-opt.el Cleanup Eshell to rely less on dynamic scoping. 2013-09-12 01:20:07 -04:00
esh-proc.el Silence many eshell compilation warnings 2013-05-22 21:57:27 -07:00
esh-util.el Cleanup Eshell to rely less on dynamic scoping. 2013-09-12 01:20:07 -04:00
esh-var.el Cleanup Eshell to rely less on dynamic scoping. 2013-09-12 01:20:07 -04:00
eshell.el Cleanup Eshell to rely less on dynamic scoping. 2013-09-12 01:20:07 -04:00