home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit f370647472a890f1ac6a895485ce24edfcc56a9b
parent bfbe28d9e77115de46675183a118cc56da2adcf7
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 27 Nov 2023 12:04:48 +0100

tools/emacs: update all dynamic blocks on save

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-org.el | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/emacs/config/config-org.el b/tools/emacs/config/config-org.el @@ -56,6 +56,8 @@ (auto-revert-mode) (auto-fill-mode) (org-indent-mode) + (add-hook 'before-save-hook 'org-update-all-dblocks) + (add-hook 'auto-save-hook 'org-update-all-dblocks) (add-hook 'before-save-hook #'save-and-update-includes nil 'make-it-local))) (use-package org