[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] FW: How to load .el file during startup and execute its commands
From: |
Jambunathan K |
Subject: |
Re: [O] FW: How to load .el file during startup and execute its commands (Win7/org8) |
Date: |
Wed, 12 Mar 2014 16:36:14 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
M <address@hidden> writes:
> have to load my settings file manually (open, eval-buffer, close) at
> each startup...
By hand, do
M-x load-file RET path-to-file RET
Now after you have done this, do
M-x list-command-history RET
And copy-paste the relevant portion to your .emacs. That is all. No
need to mess with load-path.
----------------------------------------------------------------
Here is what I get, when I follow the above sequence on one of my files.
(load-file "~/.emacs.d/lisp/hx.el")