home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
new
/
util
/
edit
/
jade
/
lisp
/
ask.jlc
< prev
next >
Wrap
Text File
|
1994-10-16
|
929b
|
15 lines
;;; Source file: /usr/local/lib/jade/3.2/lisp/ask.jl
;;; Compiled by jsh@orcrist on Sun Oct 16 20:21:33 1994
;;; Jade 3.2
(defun yes-or-no-p (question) 102634 (jade-byte-code "D
4`E" [prompt concat question " (yes or no) " answer "yes"] 4))
(setq y-or-n-keymap (make-keylist))
(bind-keys y-or-n-keymap "n" (quote (throw (quote ask) nil)) "BS" (quote (throw (quote ask) nil)) "y" (quote (throw (quote ask) t)) "SPC" (quote (throw (quote ask) t)))
(defun y-or-n-p (question) 102706 (jade-byte-code "D13I²4
6 IKF H
\"JF&H HusvE" [unbound-key-hook old-u-k-h keymap-path old-k-p buf concat question " (y or n) " title-string (lambda nil (jade-byte-code "H " [beep message title-string] 2)) (y-or-n-keymap) status-line-cursor message (jade-byte-code "±\"$IF%G±H" [buf old-k-p keymap-path old-u-k-h unbound-key-hook status-line-cursor] 3) (jade-byte-code "" [recursive-edit] 1) (quote ask)] 3))