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

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

bug#9035: 24.0.50; byte-compiler warnings with defstruct and lexical-bin


From: Lars Magne Ingebrigtsen
Subject: bug#9035: 24.0.50; byte-compiler warnings with defstruct and lexical-binding
Date: Sat, 16 Jul 2011 17:53:29 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Lawrence Mitchell <address@hidden> writes:

> The following patch fixes the problem by changing the setf-method
> to:
>
> (define-setf-method ... (cl-x)
>   (progn (ignore cl-x)
>          (error (format "%s is a read-only slot" ...))))

Thanks; I've applied this to Emacs 24.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

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