* lisp/eshell/em-prompt.el (eshell/pwd): Autoload it.
authorGlenn Morris <rgm@gnu.org>
Fri, 13 Sep 2013 07:07:07 +0000 (00:07 -0700)
committerGlenn Morris <rgm@gnu.org>
Fri, 13 Sep 2013 07:07:07 +0000 (00:07 -0700)
Otherwise an error occurs if eshell-dirs module not loaded.

lisp/ChangeLog
lisp/eshell/em-prompt.el

index a05bdb9..74f7918 100644 (file)
@@ -1,5 +1,8 @@
 2013-09-13  Glenn Morris  <rgm@gnu.org>
 
+       * eshell/em-prompt.el (eshell/pwd): Autoload it.
+       Otherwise an error occurs if eshell-dirs module not loaded.
+
        * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
 
 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
index 9b9c109..e79c7d7 100644 (file)
@@ -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 ()