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

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

Re: 'gzip -d' instead of 'gunzip'


From: Giorgos Keramidas
Subject: Re: 'gzip -d' instead of 'gunzip'
Date: Sun, 26 Oct 2008 12:30:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix)

On Fri, 24 Oct 2008 21:10:52 +0200, Andreas Politz <politza@fh-trier.de> wrote:
>Lave wrote:
>> I used dired-compress-file-suffixes before. But this variable is
>> created after once compressing or uncompressing. If I add it in
>> .emacs, it will get an error when start emacs.
>>
>> How can I do except add it into dired-aux.el as I did before?
>>
>> Could anyone help?
>
> I think you should either
>
> (require 'dired-aux)
>
> before you access the variable (maybe in a dired-mode-hook)
> or you
>
> (eval-after-load "dired-aux" ... )

Yep.  The `eval-after-load' option is slightly nicer if you are in the
habit of spawning several Emacs instances (like me), because it does not
delay the startup of *all* Emacs runs to load something that you may not
use for some time :)



reply via email to

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