summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-06-22 10:04:57 +0100
committerAlan Pearce2013-06-22 10:04:57 +0100
commiteeb7399103580db187077cbb2aa406348e3a6b6c (patch)
treec8d8c3bcdff85f99c083674c263e7ba6f2c00b37
parent189f41ba7afb45813b810810472793f5c9f0c7fa (diff)
downloadnixfiles-eeb7399103580db187077cbb2aa406348e3a6b6c.tar.lz
nixfiles-eeb7399103580db187077cbb2aa406348e3a6b6c.tar.zst
nixfiles-eeb7399103580db187077cbb2aa406348e3a6b6c.zip
Emacs: fix compilation warning regarding eshell/cd
-rw-r--r--emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index f65b1386..9d658ab1 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -760,6 +760,7 @@ Also returns nil if pid is nil."
                             eshell-smart-space-goes-to-end t)
                       (eshell-smart-initialize)))))
 
+(autoload #'eshell/cd "em-dirs")
 (defun eshell-goto-current-dir (&optional arg)
   (interactive "P")
   (let ((dir default-directory))