;;; -*-Scheme-*-
;;;
-;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/basic.scm,v 1.109 1991/05/02 01:12:16 cph Exp $
+;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/basic.scm,v 1.110 1991/05/06 00:57:03 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-91 Massachusetts Institute of Technology
;;;
(temporary-message "Quit")
(^G-signal)))
-(define-command ^r-bad-command
- "This command is used to capture undefined keys.
-It is usually called directly by the command lookup
-procedure when it fails to find a command."
+(define-command undefined
+ "This command is used to capture undefined keys."
()
(lambda ()
(editor-error "Undefined command: " (xchar->name (current-command-char)))))
;;; -*-Scheme-*-
;;;
-;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/hlpcom.scm,v 1.97 1991/04/23 06:39:19 cph Exp $
+;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/hlpcom.scm,v 1.98 1991/05/06 00:57:18 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-91 Massachusetts Institute of Technology
;;;
"kDescribe key briefly"
(lambda (key)
(let ((command (comtab-entry (current-comtabs) key)))
- (if (eq? command (ref-command-object ^r-bad-command))
+ (if (eq? command (ref-command-object undefined))
(help-describe-unbound-key key)
(message (xchar->name key)
" runs the command "
"kDescribe key"
(lambda (key)
(let ((command (comtab-entry (current-comtabs) key)))
- (if (eq? command (ref-command-object ^r-bad-command))
+ (if (eq? command (ref-command-object undefined))
(help-describe-unbound-key key)
(help-describe-command command)))))