From: "Eli Zaretskii" <eliz@elta.co.il>
Subject: Re: if both .emacs and .emacs.elc,which one emacs load?
Date: Sat, 24 May 2003 13:27:45 +0300 [thread overview]
Message-ID: <7704-Sat24May2003132743+0300-eliz@elta.co.il> (raw)
In-Reply-To: <200305240834.23296.nfreimann@firemail.de> (message from Niels Freimann on Sat, 24 May 2003 08:34:23 +0200)
> 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.
next prev parent reply other threads:[~2003-05-24 10:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-24 16:48 if both .emacs and .emacs.elc,which one emacs load? Xiong Guanglei
2003-05-24 2:45 ` Benjamin Rutt
2003-05-24 6:34 ` Niels Freimann
2003-05-24 10:27 ` Eli Zaretskii [this message]
2003-05-24 11:00 ` Niels Freimann
2003-05-24 17:35 ` Eli Zaretskii
[not found] ` <mailman.6699.1053797730.21513.help-gnu-emacs@gnu.org>
2003-05-25 9:02 ` Peter J. Acklam
2003-05-25 19:01 ` Kai Großjohann
2003-05-25 19:22 ` Peter J. Acklam
2003-05-26 3:24 ` Eli Zaretskii
2003-05-25 13:30 ` Piet van Oostrum
[not found] ` <mailman.6680.1053758270.21513.help-gnu-emacs@gnu.org>
2003-05-24 15:21 ` Stefan Monnier
2003-05-24 18:59 ` Bruce Ingalls
2003-05-28 8:51 ` Rob Thorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7704-Sat24May2003132743+0300-eliz@elta.co.il \
--to=eliz@elta.co.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).