emacs-devel
[Top][All Lists]
Advanced

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

Re: Question about byte-compiler warning


From: Richard Stallman
Subject: Re: Question about byte-compiler warning
Date: Wed, 26 Sep 2007 12:30:20 -0400

The compiler is not smart enough to deduce that this code

    (cond
     ((featurep 'xemacs)
      (defun bar ()
        (message "bar XEmacs"))
      (defun foo ()
        (bar)))
     (t
      (defun bar ()
        (message "bar Emacs"))
      (defun foo ()
        (bar))))

always defines bar.  And it is not smart enough to recognize that each
use of bar is in the same conditionals as some definition of bar.




reply via email to

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