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

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

Re: Reload .emacs


From: Arjen Wiersma
Subject: Re: Reload .emacs
Date: Fri, 03 Aug 2007 22:52:40 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin)

henrikau@januz.zapto.org (Henrik Austad) writes:

> I'm configuring my emacs22.1, and I catch myself restarting emacs (quit and
> start) for every change.  Are there any ways of just reloading the
> .emacs-file without restarting emacs?
>
> I've googled for 'emacs reload config' and variants thereof, but I'm not
> finding a useful guide.
>
> If there are places I *should* have read before bugging you with these kind
> of questions, please let me know - I don't mean to annoy you! :-)

How about eval-buffer?

,----[ C-h f eval-buffer RET ]
| eval-buffer is an interactive built-in function in `C source code'.
| (eval-buffer &optional BUFFER PRINTFLAG FILENAME UNIBYTE DO-ALLOW-PRINT)
| 
| Execute the current buffer as Lisp code.
| Programs can pass two arguments, BUFFER and PRINTFLAG.
| BUFFER is the buffer to evaluate (nil means use current buffer).
| PRINTFLAG controls printing of output:
| A value of nil means discard it; anything else is stream for print.
| 
| If the optional third argument FILENAME is non-nil,
| it specifies the file name to use for `load-history'.
| The optional fourth argument UNIBYTE specifies `load-convert-to-unibyte'
| for this invocation.
| 
| The optional fifth argument DO-ALLOW-PRINT, if non-nil, specifies that
| `print' and related functions should work normally even if PRINTFLAG is nil.
| 
| This function preserves the position of point.
`----

Regards,

Arjen


reply via email to

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