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

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

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


From: Héctor Enríquez Ramón
Subject: bug#31734: 26.1; byte-compile differs with cond eq 'default
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 <contovob@tcd.ie> wrote:
Héctor Enríquez Ramón <hector.e.r@gmail.com> 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

reply via email to

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