]> code.delx.au - gnu-emacs/commitdiff
(gnus-configure-frame, gnus-all-windows-visible-p):
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 20 Mar 2008 15:42:57 +0000 (15:42 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 20 Mar 2008 15:42:57 +0000 (15:42 +0000)
Prefer fboundp to functionp so it works with macros as well.

lisp/gnus/ChangeLog
lisp/gnus/gnus-win.el

index 8c2d025493a5e6a85a6c0a670bf90bfd3b5c9e55..7d86ddc0f7c3a87add71d9f7d0b4f2250b62d442 100644 (file)
@@ -1,3 +1,8 @@
+2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * gnus-win.el (gnus-configure-frame, gnus-all-windows-visible-p):
+       Prefer fboundp to functionp so it works with macros as well.
+
 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * nntp.el: Use with-current-buffer.
index 13a37e515ec991e9959f9bce48fd926098a3fe75..2dfed1e981ffcddbc85df69eb98d5ff28a5ae9c6 100644 (file)
@@ -317,7 +317,7 @@ See the Gnus manual for an explanation of the syntax used.")
     ;; The SPLIT might be something that is to be evaled to
     ;; return a new SPLIT.
     (while (and (not (assq (car split) gnus-window-to-buffer))
-               (functionp (car split)))
+               (fboundp (car split)))
       (setq split (eval split)))
     (let* ((type (car split))
           (subs (cddr split))
@@ -380,7 +380,7 @@ See the Gnus manual for an explanation of the syntax used.")
          (while subs
            (setq sub (append (pop subs) nil))
            (while (and (not (assq (car sub) gnus-window-to-buffer))
-                       (functionp (car sub)))
+                       (fboundp (car sub)))
              (setq sub (eval sub)))
            (when sub
              (push sub comp-subs)
@@ -520,7 +520,7 @@ should have point."
       ;; The SPLIT might be something that is to be evaled to
       ;; return a new SPLIT.
       (while (and (not (assq (car split) gnus-window-to-buffer))
-                 (functionp (car split)))
+                 (fboundp (car split)))
        (setq split (eval split)))
 
       (setq type (elt split 0))
@@ -592,5 +592,5 @@ should have point."
 
 (provide 'gnus-win)
 
-;;; arch-tag: ccd5a394-2ddf-4397-b8f8-6d80d3e46e2b
+;; arch-tag: ccd5a394-2ddf-4397-b8f8-6d80d3e46e2b
 ;;; gnus-win.el ends here