9

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?

Adrian Mole
  • 49,934
  • 160
  • 51
  • 83
Ruben Van St Aden
  • 219
  • 2
  • 4
  • 9

1 Answers1

10

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")
Brigham
  • 14,395
  • 3
  • 38
  • 48
  • i know. but how do a do that. must i tipe this into the command bar M-x or what? i still new to emacs and linux soo – Ruben Van St Aden Apr 28 '11 at 16:14
  • 1
    Create a file called `.emacs` in your home directory and put the code in there. To test it, put your cursor after the last parentheses and press `C-x e` or restart emacs. http://www.gnu.org/software/emacs/manual/html_node/emacs/Init-File.html – Brigham Apr 28 '11 at 16:19
  • Ruben Van St Aden: This other Q&A will probably prove helpful: http://stackoverflow.com/questions/10545437/how-to-disable-the-beep-in-emacs-on-windows – phils Sep 07 '13 at 02:23