Advertisement
Guest User

Untitled

a guest
Dec 7th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement