aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2020-05-29 16:37:00 -0400
committerYoni Rabkin <yoni@rabkins.net>2020-05-29 16:37:00 -0400
commit7e3d548b9ba12501aa43637e468856ac4be0bc16 (patch)
tree8164f0512290993f15800ad3f5f089a8b8f0ac1c
parentfb00718c526f96405da020721ceec2d4fcae1190 (diff)
* lisp/emms-auto.in: make elpa load aware of lisp/
-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).