emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/loadhist.el,v [EMACS_22_BASE]


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/loadhist.el,v [EMACS_22_BASE]
Date: Tue, 30 Oct 2007 00:14:04 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Juanma Barranquero <lektu>      07/10/30 00:14:04

Index: loadhist.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/loadhist.el,v
retrieving revision 1.47.2.6
retrieving revision 1.47.2.7
diff -u -b -r1.47.2.6 -r1.47.2.7
--- loadhist.el 29 Oct 2007 00:35:12 -0000      1.47.2.6
+++ loadhist.el 30 Oct 2007 00:14:03 -0000      1.47.2.7
@@ -200,7 +200,7 @@
         (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 unload-func (fboundp unload-func)
                 (funcall unload-func))
       ;; Try to avoid losing badly when hooks installed in critical
       ;; places go away.  (Some packages install things on




reply via email to

[Prev in Thread] Current Thread [Next in Thread]