Fix unintern calls (missing second argument)

This commit is contained in:
Henrik Lissner 2018-06-22 01:10:08 +02:00
parent 0d19b9e61c
commit 8c5deef5fc
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@ Used by `+lookup/in-docsets' and `+lookup/documentation'."
(hook (intern (format "%s-hook" mode))))
(cond ((null (car-safe docsets))
(remove-hook hook fn)
(unintern fn))
(unintern fn nil))
((fset fn
(lambda ()
(let ((var-sym (if (featurep! :completion ivy)