Skip to content

Commit

Permalink
make explicit some polymode document settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kjhealy committed Jul 19, 2014
1 parent a8e1e55 commit 0925ad4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions kjhealy.org
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,14 @@ Polymode is a new package that supports multiple modes inside a single buffer. I
#+begin_src emacs-lisp
(require 'poly-R)
(require 'poly-markdown)
;;; polymode + markdown
(add-to-list 'auto-mode-alist '("\\.md" . poly-markdown-mode))

;;; polymode + R
(add-to-list 'auto-mode-alist '("\\.Snw" . poly-noweb+r-mode))
(add-to-list 'auto-mode-alist '("\\.Rnw" . poly-noweb+r-mode))
(add-to-list 'auto-mode-alist '("\\.Rmd" . poly-markdown+r-mode))

#+end_src

** Local iBuffer Settings
Expand Down

0 comments on commit 0925ad4

Please sign in to comment.