unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* global-auto-composition-mode, emacs-basic-display, and CANNOT_DUMP
@ 2006-08-28  0:08 Adrian Robert
  2006-10-23  6:30 ` Kenichi Handa
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Robert @ 2006-08-28  0:08 UTC (permalink / raw)


Hi,

In the file composite.el, the value of autloaded variable 
'global-auto-composition-mode' is given initial value

(not (or noninteractive emacs-basic-display))

emacs-basic-display is defined in startup.el, while the autoload goes 
into loaddefs.el

However, as defined in loadup.el, loaddefs.el gets loaded first.

When emacs is dumping, 'noninteractive' is true and the 'or' in the 
code above short-circuits.  But in CANNOT_DUMP situation, 
emacs-basic-display is checked in loaddefs before it has been defined 
in startup (loaded later), causing an abort.

I realize runs of emacs with CANNOT_DUMP must be rare these days, but 
if it is still supported some fix should be made.  Maybe define 
emacs-basic-display somewhere earlier, I'm not sure?

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

end of thread, other threads:[~2006-10-23  6:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-28  0:08 global-auto-composition-mode, emacs-basic-display, and CANNOT_DUMP Adrian Robert
2006-10-23  6:30 ` Kenichi Handa

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