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

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

bug#19786: 25.0.50; broken build (Attempt to modify RO object)


From: Lars Ingebrigtsen
Subject: bug#19786: 25.0.50; broken build (Attempt to modify RO object)
Date: Fri, 06 Feb 2015 14:06:38 +1100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Mark Oteiza <mvoteiza@udel.edu> writes:

> In toplevel form:
> progmodes/gdb-mi.el:92:1:Error: Attempt to modify read-only object: (error)
> Makefile:287: recipe for target 'progmodes/gdb-mi.elc' failed
> make[2]: *** [progmodes/gdb-mi.elc] Error 1
> make[2]: *** Waiting for unfinished jobs....

This was due to the new error object in json.el which inherited from a
list of error conditions, which triggered this code:

         (if (consp parent)
             (apply #'nconc
                    (mapcar (lambda (parent)
                              (cons parent
                                    (or (get parent 'error-conditions)
                                        (error "Unknown signal `%s'" parent))))

(get parent 'error-conditions) may return a constant list, so I just
changed the `nconc' to `append'.

-- 
(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]