Subject: bug#31734: 26.1; byte-compile differs with cond eq 'default

From: Héctor Enríquez Ramón <[email-masked]>
Date: Wed, 6 Jun 2018 15:10:02 +0200

Current bug causes the following:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28806

see ox-odt.el file:

...

    (cond

      ((eq fn 'default)

       (format org-odt-src-block-paragraph-format

                      background-color-val color-val))

      (t

       (format

               "

<style:style style:name=\"%s\" style:family=\"text\">

  <style:text-properties fo:color=\"%s\"/>

</style:style>" style-name color-val))))))

...

On Wed, Jun 6, 2018, 14:19 Basil L. Contovounesios <[email-masked]> wrote:

> Héctor Enríquez Ramón <[email-masked]> writes:
>
> > The code below shows opposite behavior byte-compiled:
> >
> > (setq variable 0)
> > (cond
> >  ((eq variable 'default)
> >   (message "equal"))
> >  (t
> >   (message "not equal")))
> >
> > Not byte-compiled output: not equal
> > Byte-compiled output: equal
>
> This is the same as bug#31718, right?
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31718
>
> --
> Basil
>