bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55491: All completion fragments get added to obarray


From: Dmitry Gutov
Subject: bug#55491: All completion fragments get added to obarray
Date: Sat, 11 Jun 2022 03:46:10 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 07.06.2022 12:30, Lars Ingebrigtsen wrote:
Dmitry Gutov<dgutov@yandex.ru>  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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]