Skip to content

Commit

Permalink
move all samples into samples folder
Browse files Browse the repository at this point in the history
  • Loading branch information
vspinu committed May 24, 2014
1 parent c6a3ba7 commit 5a64e42
Show file tree
Hide file tree
Showing 21 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions polymode.el
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ the current innermost span."

(defun pm/fontify-region (beg end &optional verbose)
"Polymode font-lock fontification function.
Fontifies chunk-by chunk within the region.
Assigned to `font-lock-fontify-region-function'.
Fontifies chunk-by chunk within the region. Assigned to
`font-lock-fontify-region-function'.
A fontification mechanism should call
`font-lock-fontify-region-function' (`jit-lock-function' does
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions tests/test.Rmd → samples/test.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ For demonstration purposes, we may want to show some source code in the output,
but really evaluate different code in the background.

```{r}
hook_source = knit_hooks$get('source')
hook_source <- knit_hooks$get('source')
knit_hooks$set(source = function(x, options) {
res <- hook_source(x, options)
gsub("(^|\n)#'#' ", '\\1', res)
Expand All @@ -16,9 +16,9 @@ remove the comment markers later. Of course, you have to guarantee these markers
are unique.

```{r test, echo=-3}
x <- 2
## 1/sqrt(2 * pi) * exp(-x^2/2)
dnorm(x)
x <- 2
## 1/sqrt(2 * pi) * exp(-x^2/2)
dnorm(x)
```


Expand Down
File renamed without changes.

0 comments on commit 5a64e42

Please sign in to comment.