bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compilation-scroll-output should be an autoload


From: Ehud Karni
Subject: Re: compilation-scroll-output should be an autoload
Date: Sat, 17 Nov 2001 21:39:44 +0200

On 17 Nov 2001 11:00:16 -0700, address@hidden (Christopher S. Kush) wrote:
> 
> Sometimes, (and the trick is figuring out *when*), when I run my
> command in a fresh Emacs session, my command calls `compile', the
> "compile" package auto-loads and then I get an error about
> `compilation-scroll-output' not being set.  The compilation is
> running, but because of the error (presumably inside
> `compile-internal'), my code unwinds before it gets to rename the
> "*compilation*" buffer.

If you think it is an unloaded variable error, then there is a simple
work around. Do (require 'compile) before calling any `compile-*'
function or setting any `compile-*' variable. This will load compile.el
(or more probably compile.elc). It does not affect performance in any
way (assuming you are going to call `compile' soon).

Ehud

 
-- 
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-7966-561 Fax: +972-3-7966-667   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:address@hidden    http://www.simonwiesel.co.il



reply via email to

[Prev in Thread] Current Thread [Next in Thread]