aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell/em-script.el
diff options
context:
space:
mode:
authorGlenn Morris2011-03-04 20:11:05 -0800
committerGlenn Morris2011-03-04 20:11:05 -0800
commitd783d30393eb554f9a0d780570a7946a165885fb (patch)
treee007f478b68fefc200d59c1f2718569fbeecd129 /lisp/eshell/em-script.el
parent4a0f18a8997ec7b4554cdc33a290654daf4a3080 (diff)
downloademacs-d783d30393eb554f9a0d780570a7946a165885fb.tar.gz
emacs-d783d30393eb554f9a0d780570a7946a165885fb.zip
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/em-script.el')
-rw-r--r--lisp/eshell/em-script.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/eshell/em-script.el b/lisp/eshell/em-script.el
index ed4ad1c0712..d76e19cdd07 100644
--- a/lisp/eshell/em-script.el
+++ b/lisp/eshell/em-script.el
@@ -34,8 +34,9 @@ commands, as a script file."
34 34
35;;; User Variables: 35;;; User Variables:
36 36
37(defcustom eshell-script-load-hook '(eshell-script-initialize) 37(defcustom eshell-script-load-hook nil
38 "A list of functions to call when loading `eshell-script'." 38 "A list of functions to call when loading `eshell-script'."
39 :version "24.1" ; removed eshell-script-initialize
39 :type 'hook 40 :type 'hook
40 :group 'eshell-script) 41 :group 'eshell-script)
41 42