unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* loading source right after compiling
@ 2011-01-26 20:39 Sam Steingold
  0 siblings, 0 replies; only message in thread
From: Sam Steingold @ 2011-01-26 20:39 UTC (permalink / raw)
  To: emacs-devel

GNU Emacs 24.0.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4)
 of 2011-01-25 on tbox

emacs -Q
C-x C-f foo.el RET
insert some code, e.g., (defun f (x) (+ 1 x))
M-x emacs-lisp-byte-compile RET  answer yes to offer to save file.
file is saved and compiled.
now M-x emacs-lisp-byte-compile-and-load RET will load the sources:
Loading /home/sds/lisp/foo.el (source)...done
even though the compiled file is newer.

Note that if you touch the file and do
M-x emacs-lisp-byte-compile-and-load RET
then the compiled version is loaded.

This will happen even if foo.elc is newer
(just touch it before calling emacs-lisp-byte-compile-and-load).

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final)
http://openvotingconsortium.org http://honestreporting.com
http://truepeace.org http://palestinefacts.org http://thereligionofpeace.com
Sinners can repent, but stupid is forever.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-26 20:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-26 20:39 loading source right after compiling Sam Steingold

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).