aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-03-20 15:42:57 +0000
committerStefan Monnier2008-03-20 15:42:57 +0000
commitb813166acef36bb66a264544313cebf1de30e9c5 (patch)
tree9a113191f38ccc668481b62f051146bfab05adc7
parent1fa85ea8cf6cf49f8159c124a93d09fd7334bb12 (diff)
downloademacs-b813166acef36bb66a264544313cebf1de30e9c5.tar.gz
emacs-b813166acef36bb66a264544313cebf1de30e9c5.zip
(gnus-configure-frame, gnus-all-windows-visible-p):
Prefer fboundp to functionp so it works with macros as well.
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus-win.el8
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 8c2d025493a..7d86ddc0f7c 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * gnus-win.el (gnus-configure-frame, gnus-all-windows-visible-p):
4 Prefer fboundp to functionp so it works with macros as well.
5
12008-03-12 Stefan Monnier <monnier@iro.umontreal.ca> 62008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * nntp.el: Use with-current-buffer. 8 * nntp.el: Use with-current-buffer.
diff --git a/lisp/gnus/gnus-win.el b/lisp/gnus/gnus-win.el
index 13a37e515ec..2dfed1e981f 100644
--- a/lisp/gnus/gnus-win.el
+++ b/lisp/gnus/gnus-win.el
@@ -317,7 +317,7 @@ See the Gnus manual for an explanation of the syntax used.")
317 ;; The SPLIT might be something that is to be evaled to 317 ;; The SPLIT might be something that is to be evaled to
318 ;; return a new SPLIT. 318 ;; return a new SPLIT.
319 (while (and (not (assq (car split) gnus-window-to-buffer)) 319 (while (and (not (assq (car split) gnus-window-to-buffer))
320 (functionp (car split))) 320 (fboundp (car split)))
321 (setq split (eval split))) 321 (setq split (eval split)))
322 (let* ((type (car split)) 322 (let* ((type (car split))
323 (subs (cddr split)) 323 (subs (cddr split))
@@ -380,7 +380,7 @@ See the Gnus manual for an explanation of the syntax used.")
380 (while subs 380 (while subs
381 (setq sub (append (pop subs) nil)) 381 (setq sub (append (pop subs) nil))
382 (while (and (not (assq (car sub) gnus-window-to-buffer)) 382 (while (and (not (assq (car sub) gnus-window-to-buffer))
383 (functionp (car sub))) 383 (fboundp (car sub)))
384 (setq sub (eval sub))) 384 (setq sub (eval sub)))
385 (when sub 385 (when sub
386 (push sub comp-subs) 386 (push sub comp-subs)
@@ -520,7 +520,7 @@ should have point."
520 ;; The SPLIT might be something that is to be evaled to 520 ;; The SPLIT might be something that is to be evaled to
521 ;; return a new SPLIT. 521 ;; return a new SPLIT.
522 (while (and (not (assq (car split) gnus-window-to-buffer)) 522 (while (and (not (assq (car split) gnus-window-to-buffer))
523 (functionp (car split))) 523 (fboundp (car split)))
524 (setq split (eval split))) 524 (setq split (eval split)))
525 525
526 (setq type (elt split 0)) 526 (setq type (elt split 0))
@@ -592,5 +592,5 @@ should have point."
592 592
593(provide 'gnus-win) 593(provide 'gnus-win)
594 594
595;;; arch-tag: ccd5a394-2ddf-4397-b8f8-6d80d3e46e2b 595;; arch-tag: ccd5a394-2ddf-4397-b8f8-6d80d3e46e2b
596;;; gnus-win.el ends here 596;;; gnus-win.el ends here