]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix json error-definition condition build error
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 6 Feb 2015 03:04:13 +0000 (14:04 +1100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 6 Feb 2015 03:04:13 +0000 (14:04 +1100)
* lisp/subr.el (define-error): The error conditions may be constant
lists, so use `append' to concatenate them.

lisp/ChangeLog
lisp/subr.el

index 60746cef3f32cf28aad8d82d445df70612244e74..b60e410f96ef379a987c3e580661a471de416b77 100644 (file)
@@ -1,3 +1,8 @@
+2015-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * subr.el (define-error): The error conditions may be constant
+       lists, so use `append' to concatenate them.
+
 2015-02-06  Wolfgang Jenkner  <wjenkner@inode.at>
 
        * net/network-stream.el (network-stream-open-tls): Respect the
index 68cd230c5e24324d0c2169afe717e78779309552..3b27b33d960f5893191f9b9f1678435477d8067d 100644 (file)
@@ -316,7 +316,7 @@ Defaults to `error'."
   (unless parent (setq parent 'error))
   (let ((conditions
          (if (consp parent)
-             (apply #'nconc
+             (apply #'append
                     (mapcar (lambda (parent)
                               (cons parent
                                     (or (get parent 'error-conditions)