help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I preload my ~/.emacs source for editing only?


From: Steven Knight
Subject: Re: Can I preload my ~/.emacs source for editing only?
Date: Wed, 5 May 2010 19:11:15 -0400
User-agent: KMail/1.12.4 (Linux/2.6.32-3-amd64; KDE/4.3.4; x86_64; ; )

On Tuesday 04 May 2010 03:05:58 Bill wrote:
> When emacs is running I can C-x C-f to load my ~/.emacs source into a
> buffer for editing. That is easy enough, but I would like to know how
> to do it programmaticaly so it preloads on startup. Using (load "path-
> to-dot-emacs") makes emacs protest about redundant evaluation. This
> newbie just wants to edit, not evaluate.
> 

Hi,

I use the following:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; open user-init-file on startup, but doesn't show the buffer
(add-hook 'emacs-startup-hook (lambda () (find-file-noselect user-init-file)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


Thanks,


-- 
--------------------------------------------------------------------------------
Steven Knight  steven.knight@unh.edu
-------------------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]