home *** CD-ROM | disk | FTP | other *** search
- One feature of our vi functions is to ask (after returning from vi)
- whether or not you want to load the file. This gives you the freedom
- to decide later when you know if you modified the file. To implement
- this, you could change the last line of exvi from:
-
- (cond (doload (load edit_file)))
-
- to:
-
- (cond ((or doload (query "Load " edit_file "? "))
- (load edit_file)))
-
- and define query:
-
- (defmacro (&rest prompt)
- `(progn (msg ,@prompt) (yesp (read))))
-
- (or something like that). Exvi is defined in common1.l.
-
- Enjoy!
-
- -Liz
-
- PS You could also send me mail asking about getting our software!
-
-
-