GNU bug report logs - #36139
[PATCH] Make better use of the switch op in cond forms

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattiase <at> acm.org>

Date: Sat, 8 Jun 2019 15:16:02 UTC

Severity: wishlist

Tags: patch

Done: Mattias Engdegård <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mattias Engdegård <mattiase <at> acm.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 36139 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#36139: [PATCH] Make better use of the switch op in cond forms
Date: Sun, 9 Jun 2019 10:38:25 +0200
8 juni 2019 kl. 17.38 skrev Drew Adams <drew.adams <at> oracle.com>:
> 
> How does this kind of thing work with an enclosing `cl-flet' or similar that redefines `memq' or whatever?  Or in a file that redefines `memq' or whatever using `defun' or similar?

`cl-flet' works by macro-expansion, not by lexical rebinding of the function value, so it should be reasonably safe.
monotonic



This bug report was last modified 5 years and 323 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.