Skip to content
Permalink
Browse files

-g flag is not required for pygments

When -l flag is being provided.  Closes #162.
  • Loading branch information
punchagan committed Aug 29, 2016
1 parent 5df8268 commit 5629824d48aff3fa98884ac26ac0be0b59932ef5
Showing with 1 addition and 1 deletion.
  1. +1 −1 v6/orgmode/init.el
@@ -54,7 +54,7 @@
(insert code)
(let ((lang (or (cdr (assoc lang org-pygments-language-alist)) "text")))
(shell-command-on-region (point-min) (point-max)
(format "pygmentize -f html -g -l %s" lang)
(format "pygmentize -f html -l %s" lang)
(buffer-name) t))

(buffer-string)))

0 comments on commit 5629824

Please sign in to comment.
You can’t perform that action at this time.