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

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

bug#7145: elisp-code behaves differently after byte-compilation


From: Chong Yidong
Subject: bug#7145: elisp-code behaves differently after byte-compilation
Date: Sun, 03 Oct 2010 01:12:53 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Johan Bockgård <address@hidden> writes:

> But this is, IMO:
>
> (progn
>   (defsubst spooky-action-at-a-distance ()
>     (let ((a (concat "a" "bc")))
>       (store-substring a 0 "123")))
>
>   (defun foo ()
>     (spooky-action-at-a-distance)
>     (concat "ab" "c"))
>
>   (byte-compile 'foo)
>   (foo))
>
> =>  "123"

I think we're just going to have to ask people not to do that...





reply via email to

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