Lines Matching +defs:hook +defs:on
65 (defcustom eshell-dirs-load-hook '(eshell-dirs-initialize)
66 "*A hook that gets run when `eshell-dirs' is loaded."
67 :type 'hook
101 (defcustom eshell-cd-on-directory t
106 (defcustom eshell-directory-change-hook nil
107 "*A hook to run when the current directory changes."
108 :type 'hook
114 achieved by adding a function to `eshell-directory-change-hook' that
209 (when eshell-cd-on-directory
216 (add-hook 'eshell-parse-argument-hook
219 (add-hook 'eshell-parse-argument-hook
223 (add-hook 'pcomplete-try-first-hook
234 (add-hook 'eshell-exit-hook 'eshell-write-last-dir-ring nil t)
236 (add-hook 'kill-emacs-hook 'eshell-save-some-last-dir))
258 "Substitute the given command for a call to `cd' on that name."
401 (run-hooks 'eshell-directory-change-hook)