diff options
author | Miles Bader <miles@gnu.org> | 2007-11-09 09:45:30 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2007-11-09 09:45:30 +0000 |
commit | c12ecb0af9679cc0e2fa0409931c34c035763469 (patch) | |
tree | bd118c7ebc571de0dab542f48ad0c1648c6ccf72 /lisp/loadhist.el | |
parent | e83d1fe87564d06d2fcbb4006dfd9133bc340aa8 (diff) | |
parent | 9d2185d10e3da9062672d96d3b59fcea31ff17ed (diff) | |
download | emacs-c12ecb0af9679cc0e2fa0409931c34c035763469.tar.gz |
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-923
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 82bab11a7ce..0c1766143d6 100644 --- a/lisp/loadhist.el +++ b/lisp/loadhist.el @@ -191,7 +191,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 (bound-and-true-p 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 |