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

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

Re: edit .emacs and then ....


From: Joel J. Adamson
Subject: Re: edit .emacs and then ....
Date: Tue, 19 Jun 2007 16:39:06 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Ken Goldman <address@hidden> writes:

> David wrote:
>> This is a real newby question. I have a load of buffers in emacs and I
>> edit .emacs with some new cool macro or what ever. To get the new code
>> working I could close and restart emacs, but I will have to re-load
>> every buffer. Is there an easy way to either 1) get the new lisp code
>> working without closing and reopening, or 2) close and reopen and
>> still have all the same buffers available so I don't have to open
>> easch manually.
>>
> Put your cursor at the end of the statement, and then ...
>
> C-x C-e runs the command eval-last-sexp

That's the simplest way: others are

M-x eval-buffer RET
M-x load-file RET ~/.emacs

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109

A webpage of interest:
http://www.gnu.org/philosophy/sylvester-response.html


reply via email to

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