aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/emms-auto.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/emms-auto.in b/lisp/emms-auto.in
index 9426862..d799e4a 100644
--- a/lisp/emms-auto.in
+++ b/lisp/emms-auto.in
@@ -9,5 +9,9 @@
(setq command-line-args-left (cdr command-line-args-left))
(batch-update-autoloads))
+(add-to-list 'load-path (directory-file-name
+ (or (file-name-directory load-file-name)
+ (car load-path))))
+
(provide 'emms-auto)
;;; Generated autoloads follow (made by autoload.el).