From 8f46a9991fb7a90a2f187aebf4366cb5c6a2795b Mon Sep 17 00:00:00 2001 From: "Brian A. LaMacchia" Date: Sun, 25 Aug 1991 22:02:35 +0000 Subject: [PATCH] Use execute-command instead of access... --- v7/src/edwin/rmailsum.scm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/v7/src/edwin/rmailsum.scm b/v7/src/edwin/rmailsum.scm index d47e00da4..c6c561506 100644 --- a/v7/src/edwin/rmailsum.scm +++ b/v7/src/edwin/rmailsum.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/rmailsum.scm,v 1.7 1991/08/25 21:37:58 bal Exp $ +;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/rmailsum.scm,v 1.8 1991/08/25 22:02:35 bal Exp $ ;;; ;;; Copyright (c) 1991 Massachusetts Institute of Technology ;;; @@ -631,9 +631,7 @@ Calls whatever function is bound to #\c-o in RMAIL mode." (select-buffer-other-window rmail-buffer) (let ((the-command (comtab-entry (mode-comtabs (current-major-mode)) #\c-o))) - (apply (command-procedure the-command) - ((access interactive-arguments (->environment '(edwin command-reader))) - the-command false))) + (execute-command the-command)) ((ref-command rmail-summary)))) (define-command rmail-summary-output-to-rmail-file @@ -644,7 +642,5 @@ Calls whatever function is bound to #\o in RMAIL mode." (select-buffer-other-window rmail-buffer) (let ((the-command (comtab-entry (mode-comtabs (current-major-mode)) #\o))) - (apply (command-procedure the-command) - ((access interactive-arguments (->environment '(edwin command-reader))) - the-command false))) + (execute-command the-command)) ((ref-command rmail-summary)))) -- 2.25.1