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

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

bug#50195: [PATCH] Adding diary-offset, a diary-sexp offsetting another


From: Eli Zaretskii
Subject: bug#50195: [PATCH] Adding diary-offset, a diary-sexp offsetting another diary-sexp.
Date: Wed, 25 Aug 2021 15:24:54 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Yuchen Pei <hi@ypei.me>,  50195@debbugs.gnu.org
> Date: Wed, 25 Aug 2021 14:06:02 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> +  (with-no-warnings (defvar date) (defvar entry))
> >
> > Why did you need this?
> 
> It's how all these functions in diary-lib are defined after the lexical
> rewrite -- the `eval' depends on those dynamic variables.

Ugh!  Is it worth it?  If we cannot convert these functions to use
lexical-binding, maybe we should say lexical-binding: nil in the first
line of the file, and remove all those gross kludges?





reply via email to

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