|
From: | Stefan Monnier |
Subject: | bug#940: Is there a way to quit loading of ~/.emacs please? |
Date: | Tue, 09 Sep 2008 10:52:20 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> Is there a way to quit the loading after we compile the ~/.emacs and > load the ~/.emacs.elc file? Of course: (defun byte-compile-file-if-newer (src) (let ((result (concat src ".elc"))) (when (file-newer-than-file-p src result) (byte-compile-file src) (load-file result) t))) (unless (byte-compile-file-if-newer "~/.emacs") ... the rest of your .emacs... ) -- Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |