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

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

byte compilation of strings with text properties


From: Johan Bockgård
Subject: byte compilation of strings with text properties
Date: Thu, 04 Mar 2004 22:19:07 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (usg-unix-v)

In GNU Emacs 21.2.1 (sparc-sun-solaris2.8, X toolkit).

The byte compiler (`byte-compile-get-constant') doesn't check if equal
strings have different text properties:

(byte-compile
   (lambda ()
     (cons "foo"
           #("foo" 0 1 (prop val)))))

  =>  #[nil "\300\211B\207" ["foo"] 2]

-- 
Johan Bockgård




reply via email to

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