aboutsummaryrefslogtreecommitdiffstats
path: root/src/intervals.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intervals.c')
-rw-r--r--src/intervals.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intervals.c b/src/intervals.c
index d4a734c923c..0257591a142 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -117,10 +117,11 @@ create_root_interval (Lisp_Object parent)
117/* Make the interval TARGET have exactly the properties of SOURCE. */ 117/* Make the interval TARGET have exactly the properties of SOURCE. */
118 118
119void 119void
120copy_properties (register INTERVAL source, register INTERVAL target) 120copy_properties (INTERVAL source, INTERVAL target)
121{ 121{
122 if (DEFAULT_INTERVAL_P (source) && DEFAULT_INTERVAL_P (target)) 122 if (DEFAULT_INTERVAL_P (source) && DEFAULT_INTERVAL_P (target))
123 return; 123 return;
124 eassume (source && target);
124 125
125 COPY_INTERVAL_CACHE (source, target); 126 COPY_INTERVAL_CACHE (source, target);
126 set_interval_plist (target, Fcopy_sequence (source->plist)); 127 set_interval_plist (target, Fcopy_sequence (source->plist));