GNU bug report logs - #9035
24.0.50; byte-compiler warnings with defstruct and lexical-binding

Previous Next

Package: emacs;

Reported by: Lawrence Mitchell <wence <at> gmx.li>

Date: Sat, 9 Jul 2011 14:35:01 UTC

Severity: minor

Tags: fixed, patch

Found in version 24.0.50

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 9035 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Lawrence Mitchell <wence <at> gmx.li>
Cc: 9035 <at> debbugs.gnu.org
Subject: Re: 24.0.50; byte-compiler warnings with defstruct and lexical-binding
Date: Sat, 16 Jul 2011 17:53:29 +0200
Lawrence Mitchell <wence <at> gmx.li> 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/




This bug report was last modified 13 years and 308 days ago.

Previous Next


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