emacs-devel
[Top][All Lists]
Advanced

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

Re: doc-view compilation warnings


From: Dan Nicolaescu
Subject: Re: doc-view compilation warnings
Date: Tue, 23 Oct 2007 11:35:07 -0700

Tassilo Horn <address@hidden> writes:

  > Dan Nicolaescu <address@hidden> writes:
  > 
  > >   > This way it only affects users that want to use doc-view (by
  > >   > requiring it explicitly).  If we say that it should be loaded by
  > >   > default, then I agree with you.  But I'm sure there are a lot
  > >   > people that prefer it not to be loaded by default.
  > >
  > > I am not sure I get what you are trying to say. Adding autoloads like
  > > that will result that code to be loaded by default...
  > 
  > Yes, you're right.  So I removed the autoload cookies there and from
  > `doc-view-mode-maybe'.
  > 
  >  
  > +(push '("\\.[eE]?[pP][sS]\\'" . doc-view-mode-maybe) auto-mode-alist)
  > +(push '("\\.[Dd][Vv][Ii]\\'"  . doc-view-mode-maybe) auto-mode-alist)
  > +(push '("\\.[Pp][Dd][Ff]\\'"  . doc-view-mode-maybe) auto-mode-alist)

In general loading a file should not have side effects like this. 
IMHO, it is not idea to do things this way...




reply via email to

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