diff options
author | JSDurand <mmemmew@gmail.com> | 2021-04-03 01:13:28 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-04-03 01:13:28 +0800 |
commit | 7023bc46c91f2223a1cba4b15cc41b3c2274e17b (patch) | |
tree | 8cb324bc3431907b9631408a79827d0da391db37 | |
parent | 42311ef8f82ca1eb4f60d07de84b96a572eecfa0 (diff) |
Fix Info directory having wrong value at startup
* bongo.el: I used to set Info-directory-list to the directory of
bongo at startup. This causes Info to not initialize that variable,
and as a consequence, the Info will not be started correctly, before
I fix the value of that variable. Now this problem is fixed.
-rw-r--r-- | bongo.el | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |