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

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

bug#56739: 29.0.50; `cl-psetq' and `cl-psetf' fail to recognize symbol m


From: Wing Hei Chan
Subject: bug#56739: 29.0.50; `cl-psetq' and `cl-psetf' fail to recognize symbol macros
Date: Sun, 24 Jul 2022 20:12:10 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

The following form produces (2 2) due to the failure of detecting
dependencies involving symbol macros.

(cl-symbol-macrolet ((c a))
  (let ((a 1) (b 2))
    (cl-psetq a b
              b c)
    (list a b)))

It should have behaved the same as the following form without symbol
macros, that is, producing (2 1).

(let ((a 1) (b 2))
  (cl-psetq a b
            b a)
  (list a b))





reply via email to

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