common-lisp.net
/
projects/linedit/linedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7bc38e4
)
better REPL-wrapping example code in README
author
Nikodemus Siivola
<nikodemus@random-state.net>
Thu, 17 Nov 2011 13:25:04 +0000 (15:25 +0200)
committer
Nikodemus Siivola
<nikodemus@random-state.net>
Thu, 17 Nov 2011 13:25:04 +0000 (15:25 +0200)
Use INTERACTIVE-STREAM-P so that following the suggestion
doesn't break Slime.
README
patch
|
blob
|
blame
|
history
diff --git
a/README
b/README
index
8ead402
..
22a6048
100644
(file)
--- a/
README
+++ b/
README
@@
-38,7
+38,9
@@
LINEDIT
Do
- (linedit:install-repl :wrap-current t :eof-quits t)
+ (when (interactive-stream-p *standard-input*)
+ (asdf:load-system :linedit)
+ (funcall (intern "INSTALL-REPL" :linedit) :wrap-current t))
in eg. your Lisp initialization file (~/.sbclrc for SBCL). If you
don't want to preserve your current input handler you can omit the