all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* byte compilation of strings with text properties
@ 2004-03-04 21:19 Johan Bockgård
  0 siblings, 0 replies; only message in thread
From: Johan Bockgård @ 2004-03-04 21:19 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-04 21:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-04 21:19 byte compilation of strings with text properties Johan Bockgård

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.