summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bongo.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/bongo.el b/bongo.el
index 061d7a0..f5677e4 100644
--- a/bongo.el
+++ b/bongo.el
@@ -33,7 +33,11 @@
;;;###autoload
(eval-after-load 'info
- '(add-to-list 'Info-directory-list (expand-file-name "bongo/" package-dir)))
+ '(cond
+ ((null Info-directory-list)
+ (setq Info-directory-list (append Info-default-directory-list
+ (expand-file-name "bongo/" package-dir))))
+ ((add-to-list 'Info-directory-list (expand-file-name "bongo/" package-dir)))))
;;;###autoload
(defvar durand-bongo-music-dir nil