# HG changeset patch # User Richard M. Stallman # Date 1079086199 0 # Node ID 41530bace164fee614c7a41ead9d6908c492abe5 # Parent 9685a42b7c56f460edf6f04730534585d7597c3e (byte-compile-get-constant): For strings, do compare text properties. diff -r 9685a42b7c56 -r 41530bace164 lisp/emacs-lisp/bytecomp.el --- a/lisp/emacs-lisp/bytecomp.el Fri Mar 12 10:07:36 2004 +0000 +++ b/lisp/emacs-lisp/bytecomp.el Fri Mar 12 10:09:59 2004 +0000 @@ -10,7 +10,7 @@ ;;; This version incorporates changes up to version 2.10 of the ;;; Zawinski-Furuseth compiler. -(defconst byte-compile-version "$Revision: 2.141 $") +(defconst byte-compile-version "$Revision: 2.142 $") ;; This file is part of GNU Emacs. @@ -2776,7 +2776,8 @@ (defmacro byte-compile-get-constant (const) `(or (if (stringp ,const) - (assoc ,const byte-compile-constants) + (assoc-default ,const byte-compile-constants + 'equal-including-properties nil) (assq ,const byte-compile-constants)) (car (setq byte-compile-constants (cons (list ,const) byte-compile-constants)))))