It seems to me that 'package-get-version' should already implement the logic which is currently being reproduced when defining the constant 'eglot--version', so I suggest the following simplification: