From d75c6c81e367c76e4dad8168de62ab013088b41b Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Tue, 16 Nov 2021 22:59:10 -0500 Subject: [PATCH] Add safe blocks --- custom.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/custom.el b/custom.el index 1848ed1..88f9d23 100644 --- a/custom.el +++ b/custom.el @@ -89,7 +89,12 @@ '(adaptive-wrap org-roam excorporate helm-ag helm-projectile org-journal gist async with-editor treepy s popup epl pkg-info pcre2el dash f password-store hl-todo graphql ghub git-commit magit-popup flycheck helm-core git-gutter avy markdown-mode magit-todos aggressive-indent pass magit helm-flycheck helm avy-zap)) '(parens-require-spaces nil) '(safe-local-variable-values - '((projectile-project-run-cmd . "mkdir -p build; cd build; cmake ..; make run") + '((eval save-excursion + (org-babel-goto-named-src-block "startup") + (org-babel-execute-src-block) + (org-babel-goto-named-src-block "startup-write-paystub") + (org-babel-execute-src-block)) + (projectile-project-run-cmd . "mkdir -p build; cd build; cmake ..; make run") (projectile-project-compilation-cmd . "mkdir -p build; cd build; cmake ..; make") (eval save-excursion (org-babel-goto-named-src-block "startup")