Subject: bug#55491: All completion fragments get added to obarray

From: Dmitry Gutov <[email-masked]>
Date: Sat, 11 Jun 2022 03:46:10 +0300

On 07.06.2022 12:30, Lars Ingebrigtsen wrote:
> Dmitry Gutov<[email-masked]>  writes:
> 
>> How about this, then?
> [...]
> 
>> -                                             (read (current-buffer))))))
>> +                                             (let ((pt (point)))
>> +                                               (ignore-errors
>> +                                                 (forward-sexp)
>> +                                                 (intern-soft
>> +                                                  (buffer-substring pt (point)))))))))
>>                               (error nil))))
> Makes sense, I think.  (But the ignore-errors is probably not
> necessary, since the entire form is already covered by one in form of
> the condition-case...)

Thanks.

I've pushed the updated change. Seems to work okay.