Subject: Re: [bug#70799] [PATCH] gnu: emacs-telega: Update to 0.8.255.

From: Sergey Trofimov <[email-masked]>
Date: Wed, 08 May 2024 18:11:32 +0200

Liliana Marie Prikler <[email-masked]> writes: 
 
> Am Montag, dem 06.05.2024 um 11:16 +0200 schrieb Sergey 
> Trofimov: 
>> * gnu/packages/emacs-xyz.scm (emacs-telega): Update to 0.8.255. 
>> * gnu/packages/patches/emacs-telega-path-placeholder.patch: 
>> Update patch.  --- 
> Ehm, don't we defconst telega--lib-directory?  Or is that 
> variable obsolete now? 
> 

`telega--lib-directory` is set dynamically to the path of 
`telega-core.el` and it points to `/gnu/store/...' 
--8<---------------cut here---------------start------------->8--- 
(setq telega--lib-directory 
      (or (and load-file-name 
               (file-name-directory load-file-name)) 
          default-directory))
--8<---------------cut here---------------end--------------->8---

I've built the package with `telega-etc-file` definition intact and it works fine on my machine. I am not sure why the patch is needed, maybe Zhu Zihao remembers it (added to CC).