From 103521be8824be740a539a19cd394523b5d2988f Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Tue, 6 Jul 2021 23:38:06 +0530 Subject: [PATCH] fix: remove auto-alignment of tags, tangle prompt * I was almost always answering no to the prompt. Better to do it manually, then. * The auto-alignment was resulting in garbage changes in each commit, probably because of an interaction with nameless-mode --- .dir-locals.el | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.dir-locals.el b/.dir-locals.el index fdab88d..a88e171 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -20,17 +20,4 @@ (org-html-head . (concat "")) - (eval - . (add-hook - 'after-save-hook - (lambda () - (let ((fn (buffer-file-name))) - (when (y-or-n-p (format "Tangle file %s?" fn)) - (compile - (mapconcat #'shell-quote-argument - `("emacs" "-q" "-Q" "--batch" "--eval=(require 'ob-tangle)" - ,(format "--eval=(org-babel-tangle-file \"%s\")" fn)) - " "))))) - nil t)) - (eval . (add-hook 'before-save-hook (lambda nil (org-align-all-tags)) nil t))))) + "href=\"../org-doom-molokai.css\" />")))))