News for hackers. Stuff that matters.
Re:My .emacs File (Steve Yegge) by wildanimal on Friday September 03, 2010 @08:17PM (#1661591)
I wonder why everyone writes out the function invocations to add each directory they're adding, rather than doing something like

(labels ((add-path (p) (add-to-list 'load-path (path-join emacs-root p)))) (let ((paths '("foo" "bar"))) (mapc 'add-path paths)))

Is there an advantage to writing it out?

Re:My .emacs File (Steve Yegge) by yrb on Friday September 03, 2010 @08:25PM (#1661602)
I wouldn't say everyone does that. I would just say that it is a artifact of the incremental nature of building a .emacs over many years, and isn't really worth refactoring.
Re:My .emacs File (Steve Yegge) by wildanimal on Friday September 03, 2010 @08:47PM (#1661632)
Sorry, meant "from my limited observation it seems that everyone"... but what you suggest makes sense.