tags:

views:

243

answers:

2

Dear Emacs gurus;

I would like to set up a project to be published as HTML using org-mode. I don't want to litter my .emacs with project definitions, and I was wondering where I could put the (setq org-publish-project-alist) variable. Can I somehow put it in the same dir?

Thank you

+1  A: 

You could just add a new file in your .emacs.d (or whereever) and do a load-file in your .emacs file.

-- EDIT --

For example, you could have the following in your .emacs

(load (expand-file-name "~/.emacs.d/lisp/personal-org-mode-stuff.el"))

and then put all of your customization stuff in ~/.emacs.d/lisp/personal-org-mode-stuff.el and it will load that file and import all of your .emacs

Another poster also posted a link to a description of how to add your lisp files to the load path and require them.

Joshua Smith
good idea. But how? :) Emacs newbie. Would something like `(load "myfile.el" nil t t)` work?
Dervin Thunk
+2  A: 

Ryan McGeary describes what I think is a good way to organize emacs startup files.

Dave Bacher