[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master dd3715b0cb 3/3: Make function-alias-p use a better error symbol
From: |
Lars Ingebrigtsen |
Subject: |
master dd3715b0cb 3/3: Make function-alias-p use a better error symbol |
Date: |
Fri, 14 Jan 2022 05:51:39 -0500 (EST) |
branch: master
commit dd3715b0cb73515f516eccaace8eba13f2b328ab
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Make function-alias-p use a better error symbol
* lisp/subr.el (function-alias-p): Use the same error symbol as
`indirect-function'.
---
lisp/subr.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/subr.el b/lisp/subr.el
index b0d2ab623b..dd260dfe41 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -6555,7 +6555,7 @@ signalled. If NOERROR, the non-loop parts of the chain
is returned."
(eq func orig-func))
(if noerror
(throw 'loop chain)
- (error "Alias loop for `%s'" orig-func)))
+ (signal 'cyclic-function-indirection (list orig-func))))
(push func chain))
chain))))