* src/nsterm.m ([EmacsView setMarkedText:selectedRange:]): Don't
always delete the working text as ns-put-working-text does that.
(unsigned long)selRange.length,
(unsigned long)selRange.location);
- if (workingText != nil)
- [self deleteWorkingText];
if ([str length] == 0)
- return;
+ {
+ [self deleteWorkingText];
+ return;
+ }
if (!emacs_event)
return;
processingCompose = YES;
+ [workingText release];
workingText = [str copy];
ns_working_text = build_string ([workingText UTF8String]);