From: Dan Jacobson <jidanni@jidanni.org>
Cc: bug-gnu-emacs@gnu.org, bugs@gnus.org
Subject: byte-compile .el's upon saving [was Re: batch-byte-compile .gnus.el]
Date: Fri, 17 Sep 2004 04:28:32 +0800 [thread overview]
Message-ID: <877jqu5573.fsf@jidanni.org> (raw)
In-Reply-To: 0c7jr2o96i.fsf@violetta.imada.sdu.dk
The following message is a courtesy copy of an article
that has been posted to gnu.emacs.gnus as well.
This one is so good, perhaps it should go into various manuals:
>>>>> "A" == Andrew Swann mails me:
A> Another suggestion that might help is the following I have in my
A> .emacs.el that causes byte-compilation of elisp files on saving. I
A> got this from the net at some point, but don't recall where.
A> (add-hook 'emacs-lisp-mode-hook
A> '(lambda ()
A> (make-local-hook 'after-save-hook)
A> (add-hook 'after-save-hook
A> '(lambda ()
A> (byte-compile-file buffer-file-name)
A> ) nil t)
A> ));; emacs-lisp-mode-hook
parent reply other threads:[~2004-09-16 20:28 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <0c7jr2o96i.fsf@violetta.imada.sdu.dk>]
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=877jqu5573.fsf@jidanni.org \
--to=jidanni@jidanni.org \
--cc=bug-gnu-emacs@gnu.org \
--cc=bugs@gnus.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).