Commit a4e616b4 authored by Christophe Rhodes's avatar Christophe Rhodes
Browse files

support ?help buffers

use new fancy :popup-buffer event in slime-media.
parent d050f808
......@@ -28,7 +28,7 @@
* RESOLVED #8 startup is not filesystem-location independent :MINOR:FIXED:
Requires the cwd to be the swankr directory to be able to find
swank-presentations and swank-media
* OPEN #9 help and ? to produce help buffers :WISHLIST:
* RESOLVED #9 help and ? to produce help buffers :WISHLIST:FIXED:
Not like ESS, though: that works by looking at the user's input with
a regexp. Use slime-media?
* RESOLVED #10 0 or more than 1 exprs at REPL :MINOR:FIXED:
......@@ -41,4 +41,12 @@ makeMediaReplResult.matrix <- function(value) {
makeMediaReplResult.help_files_with_topic <- function(value) {
output <- capture.output(tools:::Rd2txt(utils:::.getHelpFile(value),
string <- paste(output, collapse="\n")
list(quote(`:popup-buffer`), sprintf("*slime-help(%s)*", attr(value, "topic")),
string, quote(`ess-help-mode`))
makeReplResultFunction <- makeMediaReplResult
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment