Having placed it, say myplugin.el in your ~/.emacs.d/ , add the following to your .emacs file:
(add-to-list 'load-path "~/.emacs.d/") (load "myplugin.el")
In addition, in many cases, for the second line, you will need the following:
(require 'myplugin)
In any case, you should consult the documentation of the package you are trying to install on which you should use.
If you do not know where your directory ~ is located, you can see it by typing Cx d ~/ and pressing Enter .
loudandclear Jun 19 '11 at 7:30 2011-06-19 07:30
source share