I want to change my emacs
source code theme. They say in emacswiki that I have to add the .el file in a directory in my load-path, but what is my load-path? And how do I access it?
To load an Emacs Lisp file, type M-x load-file . This command reads a file name using the minibuffer, and executes the contents of that file as Emacs Lisp code. It is not necessary to visit the file first; this command reads the file directly from disk, not from an existing Emacs buffer.
If you require a library repeatedly, it will load the library once (at most -- and not at all if the library had already been loaded).
Take a look at the Load Path page on emacswiki: http://www.emacswiki.org/emacs/LoadPath
Basically, you want to add the directory like so:
(add-to-list 'load-path "~/emacs-load-path")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With