;;; -*-Scheme-*-
;;;
-;;; $Id: hlpcom.scm,v 1.113 2000/02/24 00:59:01 cph Exp $
+;;; $Id: hlpcom.scm,v 1.114 2000/02/24 01:30:24 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-2000 Massachusetts Institute of Technology
;;;
(cons (let ((port (make-accumulator-output-port)))
(describe-bindings
(mode-comtabs (name->mode argument 'ERROR))
+ #f
port)
(newline port)
(get-output-from-accumulator port))
;;; -*-Scheme-*-
;;;
-;;;$Id: keymap.scm,v 1.15 2000/02/24 01:30:18 cph Exp $
+;;;$Id: keymap.scm,v 1.16 2000/02/24 01:31:11 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-2000 Massachusetts Institute of Technology
;;;
(let loop ((comtabs comtabs))
(cons (sort-and-simplify (comtab->alist (car comtabs)))
(if (and (pair? (cdr comtabs))
- (not (there-exists? global-modes
- (lambda (mode)
- (eq? (cdr comtabs) (mode-comtabs mode)))))
- (comtab? (cadr comtabs)))
+ (comtab? (cadr comtabs))
+ (or global?
+ (not (there-exists? global-modes
+ (lambda (mode)
+ (eq? (cdr comtabs) (mode-comtabs mode)))))))
(loop (cdr comtabs))
'()))))