From fbc08acf640389fcd57d41cedcb838f332da007b Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 19 Dec 2001 01:42:39 +0000 Subject: [PATCH] Eliminate unnecessary use of LEXICAL-UNREFERENCEABLE?. --- v7/src/edwin/dired.scm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/v7/src/edwin/dired.scm b/v7/src/edwin/dired.scm index 9f3d9b6f3..19f6332d3 100644 --- a/v7/src/edwin/dired.scm +++ b/v7/src/edwin/dired.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: dired.scm,v 1.189 2001/06/04 17:12:33 cph Exp $ +;;; $Id: dired.scm,v 1.190 2001/12/19 01:42:39 cph Exp $ ;;; ;;; Copyright (c) 1986, 1989-2001 Massachusetts Institute of Technology ;;; @@ -110,14 +110,8 @@ Space and Rubout can be used to move down and up by lines. (define-key 'dired #\M-rubout 'dired-unmark-all-files) (define-key 'dired #\space 'dired-next-line) -(let-syntax ((define-function-key - (macro (mode key command) - (let ((token (if (pair? key) (car key) key))) - `(if (not (lexical-unreferenceable? (the-environment) - ',token)) - (define-key ,mode ,key ,command)))))) - (define-function-key 'dired down 'dired-next-line) - (define-function-key 'dired up 'dired-previous-line)) +(define-key 'dired down 'dired-next-line) +(define-key 'dired up 'dired-previous-line) (define-command dired "\"Edit\" directory DIRNAME--delete, rename, print, etc. some files in it. -- 2.25.1