mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-02 20:16:25 +00:00
Fix json error-definition condition build error
* lisp/subr.el (define-error): The error conditions may be constant lists, so use `append' to concatenate them.
This commit is contained in:
parent
bc4996520a
commit
3fc745d5de
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user