diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fileio.c b/src/fileio.c index 746aac42a9c..b11f9233ab4 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -4047,14 +4047,8 @@ by calling `format-decode', which see. */) | |||
| 4047 | being called in insert_from_buffer (via in | 4047 | being called in insert_from_buffer (via in |
| 4048 | prepare_to_modify_buffer). */ | 4048 | prepare_to_modify_buffer). */ |
| 4049 | specbind (intern ("buffer-file-name"), Qnil); | 4049 | specbind (intern ("buffer-file-name"), Qnil); |
| 4050 | |||
| 4051 | /* Temporarily enable the undo-buffer to ensure that the change | ||
| 4052 | is marked as an undoable one. Bug #23785. */ | ||
| 4053 | bset_undo_list(current_buffer,Qnil); | ||
| 4054 | insert_from_buffer (XBUFFER (conversion_buffer), | 4050 | insert_from_buffer (XBUFFER (conversion_buffer), |
| 4055 | same_at_start_charpos, inserted_chars, 0); | 4051 | same_at_start_charpos, inserted_chars, 0); |
| 4056 | bset_undo_list(current_buffer,Qt); | ||
| 4057 | |||
| 4058 | /* Set `inserted' to the number of inserted characters. */ | 4052 | /* Set `inserted' to the number of inserted characters. */ |
| 4059 | inserted = PT - temp; | 4053 | inserted = PT - temp; |
| 4060 | /* Set point before the inserted characters. */ | 4054 | /* Set point before the inserted characters. */ |