Subject: bug#48404: 28.0.50; "Invalid version syntax" errors with read-extended-command

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 14 May 2021 09:41:33 +0200

Tassilo Horn <[email-masked]> writes:

> I've tried this

[...]

> -                                    (>= (car (version-to-list (caddr obsolete)))
> -                                        emacs-major-version))))))
> +                                    (condition-case nil
> +                                        (>= (car (version-to-list (caddr obsolete)))
> +                                            emacs-major-version)
> +                                      (t nil)))))))

Yes, I think this is the right solution.  (Or just `ignore-errors'.)

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