From 67269fdf2b87ea459633e0a02c2273d0e3307c3e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 20 May 2018 20:08:38 +0200 Subject: [PATCH] add-transient-hook!: unintern => fmakunbound --- core/core-lib.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-lib.el b/core/core-lib.el index 6429d7699..2182b03f2 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -167,7 +167,7 @@ HOOK can be a quoted hook or a sharp-quoted function (which will be advised)." ,@forms (cond ((functionp ,hook) (advice-remove ,hook #',fn)) ((symbolp ,hook) (remove-hook ,hook #',fn))) - (unintern ',fn nil))) + (fmakunbound ',fn))) (cond ((functionp ,hook) (advice-add ,hook ,(if append :after :before) #',fn)) ((symbolp ,hook)