diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c index 2aa7ff42a2b..a7537be357d 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1030,7 +1030,12 @@ from adjoining text, if those properties are sticky.") | |||
| 1030 | n -= strlen; | 1030 | n -= strlen; |
| 1031 | } | 1031 | } |
| 1032 | if (n > 0) | 1032 | if (n > 0) |
| 1033 | insert (string, n); | 1033 | { |
| 1034 | if (!NILP (inherit)) | ||
| 1035 | insert_and_inherit (string, n); | ||
| 1036 | else | ||
| 1037 | insert (string, n); | ||
| 1038 | } | ||
| 1034 | return Qnil; | 1039 | return Qnil; |
| 1035 | } | 1040 | } |
| 1036 | 1041 | ||