aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorNoah Friedman2015-08-17 13:00:36 -0700
committerNoah Friedman2015-08-17 13:00:36 -0700
commita84225d29c40a8cf3f860d2b58517102eef33436 (patch)
tree8c26150075a37ad5c141d0c5c7aa08eee9749814 /src/alloc.c
parentb892438d7a424e61f174d8b8a57e78077aa96a0c (diff)
parent62f65abf279da30e6fff4bcf3462b548aeb2dc97 (diff)
downloademacs-a84225d29c40a8cf3f860d2b58517102eef33436.tar.gz
emacs-a84225d29c40a8cf3f860d2b58517102eef33436.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 9ac3ad84131..91b4c6e1515 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -3765,7 +3765,7 @@ queue_doomed_finalizers (struct Lisp_Finalizer *dest,
3765static Lisp_Object 3765static Lisp_Object
3766run_finalizer_handler (Lisp_Object args) 3766run_finalizer_handler (Lisp_Object args)
3767{ 3767{
3768 add_to_log ("finalizer failed: %S", args, Qnil); 3768 add_to_log ("finalizer failed: %S", args);
3769 return Qnil; 3769 return Qnil;
3770} 3770}
3771 3771
@@ -5339,6 +5339,10 @@ purecopy (Lisp_Object obj)
5339 if (PURE_POINTER_P (XPNTR (obj)) || INTEGERP (obj) || SUBRP (obj)) 5339 if (PURE_POINTER_P (XPNTR (obj)) || INTEGERP (obj) || SUBRP (obj))
5340 return obj; /* Already pure. */ 5340 return obj; /* Already pure. */
5341 5341
5342 if (STRINGP (obj) && XSTRING (obj)->intervals)
5343 message_with_string ("Dropping text-properties while making string `%s' pure",
5344 obj, true);
5345
5342 if (HASH_TABLE_P (Vpurify_flag)) /* Hash consing. */ 5346 if (HASH_TABLE_P (Vpurify_flag)) /* Hash consing. */
5343 { 5347 {
5344 Lisp_Object tmp = Fgethash (obj, Vpurify_flag, Qnil); 5348 Lisp_Object tmp = Fgethash (obj, Vpurify_flag, Qnil);
@@ -5351,13 +5355,9 @@ purecopy (Lisp_Object obj)
5351 else if (FLOATP (obj)) 5355 else if (FLOATP (obj))
5352 obj = make_pure_float (XFLOAT_DATA (obj)); 5356 obj = make_pure_float (XFLOAT_DATA (obj));
5353 else if (STRINGP (obj)) 5357 else if (STRINGP (obj))
5354 { 5358 obj = make_pure_string (SSDATA (obj), SCHARS (obj),
5355 if (XSTRING (obj)->intervals) 5359 SBYTES (obj),
5356 message ("Dropping text-properties when making string pure"); 5360 STRING_MULTIBYTE (obj));
5357 obj = make_pure_string (SSDATA (obj), SCHARS (obj),
5358 SBYTES (obj),
5359 STRING_MULTIBYTE (obj));
5360 }
5361 else if (COMPILEDP (obj) || VECTORP (obj) || HASH_TABLE_P (obj)) 5361 else if (COMPILEDP (obj) || VECTORP (obj) || HASH_TABLE_P (obj))
5362 { 5362 {
5363 struct Lisp_Vector *objp = XVECTOR (obj); 5363 struct Lisp_Vector *objp = XVECTOR (obj);