diff options
Diffstat (limited to 'src/intervals.c')
| -rw-r--r-- | src/intervals.c | 3 |
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 | ||
| 119 | void | 119 | void |
| 120 | copy_properties (register INTERVAL source, register INTERVAL target) | 120 | copy_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)); |