From 3a95b6d52b29141725db1858cf0aa9e828f332e9 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 5 May 1995 06:25:50 +0000 Subject: [PATCH] Fix bug: select-buffer-hook not being invoked-with correct arguments. --- v7/src/edwin/curren.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/v7/src/edwin/curren.scm b/v7/src/edwin/curren.scm index 3d17ba0bd..42ea3140d 100644 --- a/v7/src/edwin/curren.scm +++ b/v7/src/edwin/curren.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: curren.scm,v 1.116 1995/04/30 07:02:10 cph Exp $ +;;; $Id: curren.scm,v 1.117 1995/05/05 06:25:50 cph Exp $ ;;; ;;; Copyright (c) 1986, 1989-95 Massachusetts Institute of Technology ;;; @@ -469,9 +469,9 @@ The screen is guaranteed to be deselected at that time." (for-each (lambda (hook) (hook buffer window)) (get-buffer-hooks buffer 'SELECT-BUFFER-HOOKS)) (if (not (minibuffer? buffer)) - (event-distributor/invoke! - (variable-default-value (ref-variable-object select-buffer-hook)) - buffer))) + (event-distributor/invoke! (ref-variable select-buffer-hook #f) + buffer + window))) (define-integrable (add-select-buffer-hook buffer hook) (add-buffer-hook buffer 'SELECT-BUFFER-HOOKS hook)) -- 2.25.1