diff options
| author | Richard M. Stallman | 1993-12-23 01:58:56 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-12-23 01:58:56 +0000 |
| commit | 08b0527265bf9b87f47403191a3d5c0877f86b4b (patch) | |
| tree | 618b5d1a4af3d0157088b2d644b5dd76f5e49073 /src | |
| parent | 9aa1e75280a2817dd6f4749c4699c2ec89824b0c (diff) | |
| download | emacs-08b0527265bf9b87f47403191a3d5c0877f86b4b.tar.gz emacs-08b0527265bf9b87f47403191a3d5c0877f86b4b.zip | |
(graft_intervals_into_buffer): If SOURCE is null
and TREE is null, no need to call Fset_text_properties.
Diffstat (limited to 'src')
| -rw-r--r-- | src/intervals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intervals.c b/src/intervals.c index 3e970797ebe..46b1f9f31fd 100644 --- a/src/intervals.c +++ b/src/intervals.c | |||
| @@ -1272,7 +1272,7 @@ graft_intervals_into_buffer (source, position, length, buffer, inherit) | |||
| 1272 | if (NULL_INTERVAL_P (source)) | 1272 | if (NULL_INTERVAL_P (source)) |
| 1273 | { | 1273 | { |
| 1274 | Lisp_Object buf; | 1274 | Lisp_Object buf; |
| 1275 | if (!inherit) | 1275 | if (!inherit && ! NULL_INTERVAL_P (tree)) |
| 1276 | { | 1276 | { |
| 1277 | XSET (buf, Lisp_Buffer, buffer); | 1277 | XSET (buf, Lisp_Buffer, buffer); |
| 1278 | Fset_text_properties (make_number (position), | 1278 | Fset_text_properties (make_number (position), |