all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is emacs loading my files twice (both .el and .elc)?
@ 2010-01-17 10:20 janoChen
  2010-01-17 16:30 ` Lennart Borgman
  0 siblings, 1 reply; 3+ messages in thread
From: janoChen @ 2010-01-17 10:20 UTC (permalink / raw)
  To: Help-gnu-emacs


I aware that when there's a byte compiled version of a .el file (.elc), emacs
loads this second one (I currently pacing them in the same directory).

When I start emacs and I look into my *Message* buffer I see this:

    Loading c:/Documents and
Settings.../App.../.emacs.d/themes/color-theme-example.el (source)...done
    Loading c:/Documents and
Setting.../App.../.emacs.d/themes/color-theme-example.elc...done
    Loading c:/Documents and
Settings.../App.../.emacs.d/themes/color-theme-library.el (source)...done
    Loading c:/Documents and
Settings.../App.../.emacs.d/themes/color-theme-library.elc...done

Is emacs loading both the .el and .elc version of the same file?
I don't want emacs to load my plugins twice.
-- 
View this message in context: http://old.nabble.com/Is-emacs-loading-my-files-twice-%28both-.el-and-.elc%29--tp27197442p27197442.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is emacs loading my files twice (both .el and .elc)?
  2010-01-17 10:20 Is emacs loading my files twice (both .el and .elc)? janoChen
@ 2010-01-17 16:30 ` Lennart Borgman
  2010-01-17 22:08   ` janoChen
  0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman @ 2010-01-17 16:30 UTC (permalink / raw)
  To: janoChen; +Cc: Help-gnu-emacs

On Sun, Jan 17, 2010 at 11:20 AM, janoChen <janoochen@gmail.com> wrote:
>
> I aware that when there's a byte compiled version of a .el file (.elc), emacs
> loads this second one (I currently pacing them in the same directory).
>
> When I start emacs and I look into my *Message* buffer I see this:
>
>    Loading c:/Documents and
> Settings.../App.../.emacs.d/themes/color-theme-example.el (source)...done
>    Loading c:/Documents and
> Setting.../App.../.emacs.d/themes/color-theme-example.elc...done
>    Loading c:/Documents and
> Settings.../App.../.emacs.d/themes/color-theme-library.el (source)...done
>    Loading c:/Documents and
> Settings.../App.../.emacs.d/themes/color-theme-library.elc...done
>
> Is emacs loading both the .el and .elc version of the same file?
> I don't want emacs to load my plugins twice.

How are you loading them?




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is emacs loading my files twice (both .el and .elc)?
  2010-01-17 16:30 ` Lennart Borgman
@ 2010-01-17 22:08   ` janoChen
  0 siblings, 0 replies; 3+ messages in thread
From: janoChen @ 2010-01-17 22:08 UTC (permalink / raw)
  To: Help-gnu-emacs


I'm loading them like this, from my .emacs file:

;;color theme plugin
(add-to-list 'load-path "~/.emacs.d/")
(require 'color-theme)
(eval-after-load "color-theme"
  '(progn
     (color-theme-initialize)
     (color-theme-charcoal-black)))
-- 
View this message in context: http://old.nabble.com/Is-emacs-loading-my-files-twice-%28both-.el-and-.elc%29--tp27197442p27203388.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-17 22:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-17 10:20 Is emacs loading my files twice (both .el and .elc)? janoChen
2010-01-17 16:30 ` Lennart Borgman
2010-01-17 22:08   ` janoChen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.