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: Lars Ingebrigtsen
Subject: bug#55491: All completion fragments get added to obarray
Date: Tue, 07 Jun 2022 11:30:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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...)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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