Skip to content

Commit

Permalink
don't ask for dot
Browse files Browse the repository at this point in the history
  • Loading branch information
znz committed Apr 18, 2014
1 parent 1e531a0 commit 8c14a58
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions init.el.d/50org-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@
'org-babel-load-languages
'((dot . t)))
)

(defun my-org-confirm-babel-evaluate (lang body)
(not (string= lang "dot"))) ; don't ask for dot
;(setq org-confirm-babel-evaluate t)
(setq org-confirm-babel-evaluate 'my-org-confirm-babel-evaluate)

)

;;; Local Variables:
Expand Down

0 comments on commit 8c14a58

Please sign in to comment.