Skip to content

Commit

Permalink
Merge pull request #191 from getnikola/org-pygments
Browse files Browse the repository at this point in the history
-g flag is not required for pygments
  • Loading branch information
punchagan committed Nov 26, 2016
2 parents 2e4ab9b + 8a99d42 commit 7eef073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v6/orgmode/init.el
Expand Up @@ -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)))
Expand Down

0 comments on commit 7eef073

Please sign in to comment.