SHOW:
|
|
- or go back to the newest paste.
1 | ;; Works in scratch | |
2 | (add-to-list 'load-path "/Users/Getpeanuts/.emacs.d/hello-world") | |
3 | (require 'hello-world) | |
4 | ||
5 | - | ;; I get an error no directory when I put this at the bottom of my init.el |
5 | + | ;; I get an error no directory when I put this at the bottom of my init.el. |
6 | ;; But I don't get any error when I evaluate it from scratch, instead it loads. | |
7 | ||
8 | ;; ps. This is what's in the hello-world directory: | |
9 | ;; hello-world.el | |
10 | (message "Hello world how are you today?") | |
11 | (provide 'hello-world) |