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
more working `swank:compile-file-for-emacs`
[swankr.git]
/
swank.R
diff --git
a/swank.R
b/swank.R
index 22cec64d58f898fad9ce4c68b22110bdd4b4c103..fe60f7db49e0c18d9a776996b35b7e49c749bf5f 100644
(file)
--- a/
swank.R
+++ b/
swank.R
@@
-629,10
+629,6
@@
emacsInspect.numeric <- function(numeric) {
}
`swank:compile-file-for-emacs` <- function(slimeConnection, sldbState, filename, loadp, ...) {
}
`swank:compile-file-for-emacs` <- function(slimeConnection, sldbState, filename, loadp, ...) {
- if(loadp==quote(`t`)) {
- source(filename, local=FALSE)
- } else {
- parse(filename)
- }
- TRUE
+ times <- system.time(parse(filename))
+ list(quote(`:compilation-result`), list(), TRUE, times[3], substitute(loadp), filename)
}
}