summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-prompt.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-09-13 00:07:07 -0700
committerGlenn Morris <rgm@gnu.org>2013-09-13 00:07:07 -0700
commitfcef2e13960af4f30ced7571771f581091d18c17 (patch)
tree758349ecbf1a37984e0fc83958d2d58a4c4fafcd /lisp/eshell/em-prompt.el
parentd6a0426625234e201b1df4514fdf735bca614463 (diff)
downloademacs-fcef2e13960af4f30ced7571771f581091d18c17.tar.gz
emacs-fcef2e13960af4f30ced7571771f581091d18c17.tar.bz2
emacs-fcef2e13960af4f30ced7571771f581091d18c17.zip
* lisp/eshell/em-prompt.el (eshell/pwd): Autoload it.
Otherwise an error occurs if eshell-dirs module not loaded.
Diffstat (limited to 'lisp/eshell/em-prompt.el')
-rw-r--r--lisp/eshell/em-prompt.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/eshell/em-prompt.el b/lisp/eshell/em-prompt.el
index 9b9c1095277..e79c7d7ba63 100644
--- a/lisp/eshell/em-prompt.el
+++ b/lisp/eshell/em-prompt.el
@@ -45,6 +45,8 @@ as is common with most shells."
:type 'hook
:group 'eshell-prompt)
+(autoload 'eshell/pwd "em-dirs")
+
(defcustom eshell-prompt-function
(function
(lambda ()