diff options
author | Glenn Morris <rgm@gnu.org> | 2011-03-04 20:11:05 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-03-04 20:11:05 -0800 |
commit | d783d30393eb554f9a0d780570a7946a165885fb (patch) | |
tree | e007f478b68fefc200d59c1f2718569fbeecd129 /lisp/eshell/esh-arg.el | |
parent | 4a0f18a8997ec7b4554cdc33a290654daf4a3080 (diff) | |
download | emacs-d783d30393eb554f9a0d780570a7946a165885fb.tar.gz |
Default all eshell hooks to nil (bug#5375)
* eshell/esh-mode.el (eshell-kill-buffer-function): New function.
(eshell-mode): Use eshell-kill-buffer-function.
Run the -initialize functions independently of the -load-hooks.
* eshell/esh-proc.el (eshell-kill-process-function): New function.
(eshell-gather-process-output, eshell-sentinel)
(eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
Use eshell-kill-process-function.
* eshell/em-alias.el (eshell-alias-load-hook):
* eshell/em-banner.el (eshell-banner-load-hook):
* eshell/em-cmpl.el (eshell-cmpl-load-hook):
* eshell/em-dirs.el (eshell-dirs-load-hook):
* eshell/em-glob.el (eshell-glob-load-hook):
* eshell/em-hist.el (eshell-hist-load-hook):
* eshell/em-pred.el (eshell-pred-load-hook):
* eshell/em-prompt.el (eshell-prompt-load-hook):
* eshell/em-rebind.el (eshell-rebind-load-hook):
* eshell/em-script.el (eshell-script-load-hook):
* eshell/em-smart.el (eshell-smart-load-hook):
* eshell/em-term.el (eshell-term-load-hook):
* eshell/em-unix.el (eshell-unix-load-hook):
* eshell/esh-arg.el (eshell-arg-load-hook):
* eshell/esh-cmd.el (eshell-cmd-load-hook):
* eshell/esh-ext.el (eshell-ext-load-hook):
* eshell/esh-io.el (eshell-io-load-hook):
* eshell/esh-mode.el (eshell-exit-hook):
* eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
* eshell/esh-var.el (eshell-var-load-hook):
Set default hook values to nil. (Bug#5375)
Diffstat (limited to 'lisp/eshell/esh-arg.el')
-rw-r--r-- | lisp/eshell/esh-arg.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/eshell/esh-arg.el b/lisp/eshell/esh-arg.el index f42440ae4ec..1fb8b7f4c32 100644 --- a/lisp/eshell/esh-arg.el +++ b/lisp/eshell/esh-arg.el @@ -117,8 +117,9 @@ treated as a literal character." ;;; User Variables: -(defcustom eshell-arg-load-hook '(eshell-arg-initialize) +(defcustom eshell-arg-load-hook nil "A hook that gets run when `eshell-arg' is loaded." + :version "24.1" ; removed eshell-arg-initialize :type 'hook :group 'eshell-arg) |