emacs-devel
[Top][All Lists]
Advanced

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

The with-slots macro shadows function names


From: Steven Allen
Subject: The with-slots macro shadows function names
Date: Thu, 30 Mar 2017 23:17:18 -0700

The following fails to compile on emacs 26 but compiles on emacs 25:

  (lambda (obj) (with-slots (message) obj (message "")))

It fails with:

  Eager macro-expansion failure: (invalid-function ((slot-value object (quote 
message))))

It appears to be substituting the `message` function name with
`(slot-value object 'message)`.

Attachment: signature.asc
Description: PGP signature


reply via email to

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