emacs-devel
[Top][All Lists]
Advanced

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

Re: (if (and (featurep 'xemacs) blah) not optimized anymore


From: Dan Nicolaescu
Subject: Re: (if (and (featurep 'xemacs) blah) not optimized anymore
Date: Sun, 21 Oct 2007 20:00:55 -0700

Stefan Monnier <address@hidden> writes:

  > > Byte compiling this:
  > 
  > > (if (and (featurep 'xemacs) blah)
  > >     (foo))
  > 
  > > with emacs-22.1 does not result in any warning, doing it with the
  > > emacs from trunk results in this:
  > 
  > > In end of data:
  > > foo.el:2:11:Warning: the function `foo' is not known to be defined.
  > 
  > > Any idea what went wrong?
  > 
  > Stupid typo.  Sorry.  Should be fixed now,

Thanks!

Can you please take a look at these:

In end of data:
printing.el:6704:1:Warning: the following functions are not known to
be defined: pr-menu-lookup,
    pr-menu-alist, pr-even-or-odd-pages, pr-menu-get-item,
    pr-menu-set-item-name, pr-menu-lock, pr-menu-set-utility-title,
    pr-menu-set-ps-title, pr-menu-set-txt-title, pr-region-active-p,
    pr-do-update-menus, pr-update-mode-line, pr-f-read-string,
    pr-f-set-keymap-parents, pr-keep-region-active

The functions are defined inside a cond. Is the byte compiler supposed
to deal with that?




reply via email to

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