diff options
Diffstat (limited to 'lisp/loadhist.el')
-rw-r--r-- | lisp/loadhist.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/loadhist.el b/lisp/loadhist.el index 5343c3cf34b..fb6a1c0389f 100644 --- a/lisp/loadhist.el +++ b/lisp/loadhist.el @@ -200,7 +200,7 @@ something strange, such as redefining an Emacs function." (unload-func (intern-soft (concat name "-unload-function")))) ;; If FEATURE-unload-function is defined and returns non-nil, ;; don't try to do anything more; otherwise proceed normally. - (unless (and unload-func (fboundp unload-func) + (unless (and (fboundp unload-func) (funcall unload-func)) ;; Try to avoid losing badly when hooks installed in critical ;; places go away. (Some packages install things on |