|
From: | Eli Zaretskii |
Subject: | Re: if both .emacs and .emacs.elc,which one emacs load? |
Date: | Sat, 24 May 2003 13:27:45 +0300 |
> From: Niels Freimann <nfreimann@firemail.de> > Date: Sat, 24 May 2003 08:34:23 +0200 > > (defun autocompile() > "compile itself if ~/.emacs" > (interactive) > (if (string= (buffer-file-name) (concat default-directory ".emacs")) > (byte-compile-file (buffer-file-name)))) Beware: this doesn't take into account those platforms where the init file might be called "_emacs" instead.
[Prev in Thread] | Current Thread | [Next in Thread] |