;;; -*- Mode:Lisp; Readtable:ZL; Package:USER; Base:8; Patch-File:T -*- ;;; Patch file for System version 124.86 ;;; Reason: ;;; Try to find alternative packages if ZWEI's Meta-X Install Command fails ;;; to find a function definition for the target command in the current package. ;;; Written 22-Jun-88 12:31:35 by saz (David M.J. Saslav) at site Gigamos Cambridge ;;; while running on Brahms' First from band 1 ;;; with Experimental System 124.59, Experimental Local-File 74.2, Experimental File-Server 23.1, Experimental Unix-Interface 12.0, Experimental ZMail 72.0, Experimental Tape 23.6, Experimental Lambda-Diag 16.1, microcode 1761, SDU Boot Tape 3.14, SDU ROM 103, the old ones. ; From file DJ: L.ZWEI; COMG.LISP#48 at 22-Jun-88 12:33:30 #8R ZWEI#: (COMPILER-LET ((*PACKAGE* (PKG-FIND-PACKAGE "ZWEI"))) (COMPILER::PATCH-SOURCE-FILE "SYS: ZWEI; COMG  " (DEFCOM COM-INSTALL-COMMAND "Install a specified function on a specified editor command character. The name of the function is read from the mini-buffer (the top of the kill ring contains the name of the current defun), and a character from the echo area. Two-character sequences starting with prefixes such as Control-X are also allowed; however, a numeric argument means to regard the prefix character itself as the character to be redefined." () (DO (NAME) (NIL) (SETQ NAME (READ-FUNCTION-NAME "Name of function to install" (RELEVANT-FUNCTION-NAME (POINT)) NIL 'ALWAYS-READ)) (AND (OR (FBOUNDP NAME) (si:dwimify-package-0 name 'fdefinedp) ;in case we are not in the zwei package at the moment (FQUERY () "~A is not defined, ok to install anyway? " NAME)) (RETURN (INSTALL-COMMAND-INTERNAL NAME))))) ))