[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: if both .emacs and .emacs.elc,which one emacs load?
From: |
Niels Freimann |
Subject: |
Re: if both .emacs and .emacs.elc,which one emacs load? |
Date: |
Sat, 24 May 2003 08:34:23 +0200 |
User-agent: |
KMail/1.4.3 |
try it out and you'll never forget to re-compile:
(defun autocompile()
"compile itself if ~/.emacs"
(interactive)
(if (string= (buffer-file-name) (concat default-directory ".emacs"))
(byte-compile-file (buffer-file-name))))
(add-hook 'after-save-hook 'autocompile())
> Besides, it's not worth your time you'll lose someday when you'll edit
> the non-compiled version, expect a change to happen, and you'll forget
> to re-compile it, and wonder why your change didn't have any effect
- if both .emacs and .emacs.elc,which one emacs load?, Xiong Guanglei, 2003/05/23
- Re: if both .emacs and .emacs.elc,which one emacs load?, Benjamin Rutt, 2003/05/23
- Re: if both .emacs and .emacs.elc,which one emacs load?,
Niels Freimann <=
- Re: if both .emacs and .emacs.elc,which one emacs load?, Eli Zaretskii, 2003/05/24
- Re: if both .emacs and .emacs.elc,which one emacs load?, Niels Freimann, 2003/05/24
- Re: if both .emacs and .emacs.elc,which one emacs load?, Eli Zaretskii, 2003/05/24
- Message not available
- Re: if both .emacs and .emacs.elc,which one emacs load?, Peter J. Acklam, 2003/05/25
- Re: if both .emacs and .emacs.elc,which one emacs load?, Kai Großjohann, 2003/05/25
- Re: if both .emacs and .emacs.elc,which one emacs load?, Peter J. Acklam, 2003/05/25
- Re: if both .emacs and .emacs.elc,which one emacs load?, Eli Zaretskii, 2003/05/25
- Message not available
- Re: if both .emacs and .emacs.elc,which one emacs load?, Piet van Oostrum, 2003/05/25
Re: if both .emacs and .emacs.elc,which one emacs load?, Bruce Ingalls, 2003/05/24
Message not available