Skip to content

Commit

Permalink
-g flag is not required for pygments
Browse files Browse the repository at this point in the history
When -l flag is being provided.  Closes #162.
  • Loading branch information
punchagan committed Aug 29, 2016
1 parent 5df8268 commit 5629824
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 5629824

Please sign in to comment.