Christophe
Weblog
Wiki
Code
Publications
Music
projects
/
swankr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make it work with org-mode 8
[swankr.git]
/
swank-media.R
diff --git
a/swank-media.R
b/swank-media.R
index 01ea682932cf6bee1c5718c513301d906360ca74..12405265e31de9d8285fa128e98d9a68c21838f1 100644
(file)
--- a/
swank-media.R
+++ b/
swank-media.R
@@
-30,7
+30,7
@@
makeMediaReplResult.numeric <- function(value) {
list(quote(`:write-string`), string, quote(`:repl-result`))
}
makeMediaReplResult.complex <- function(value) {
list(quote(`:write-string`), string, quote(`:repl-result`))
}
makeMediaReplResult.complex <- function(value) {
- string <-
deparse(value
)
+ string <-
paste(deparse(value), sep="", collapse="\n"
)
list(quote(`:write-string`), string, quote(`:repl-result`))
}
list(quote(`:write-string`), string, quote(`:repl-result`))
}
@@
-41,4
+41,10
@@
makeMediaReplResult.matrix <- function(value) {
makeMediaReplResult.default(value)
}
makeMediaReplResult.default(value)
}
+makeMediaReplResult.help_files_with_topic <- function(value) {
+ string <- helpFilesWithTopicString(value)
+ list(quote(`:popup-buffer`), sprintf("*slime-help(%s)*", attr(value, "topic")),
+ string, quote(`ess-help-mode`))
+}
+
makeReplResultFunction <- makeMediaReplResult
makeReplResultFunction <- makeMediaReplResult