diff options
| author | cashmere <cashmere@autistici.org> | 2026-08-21 01:12:59 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-08-21 01:12:59 +0200 |
| commit | 83d0b77f934416ab0957473cec2e4dd0ebeeee02 (patch) | |
| tree | e1a5949247a6eb76548950f2c7b0ee9ed2a1973e /custom-vars.el | |
| parent | afa2eb42588da76d7c111bfc414a08416feda836 (diff) | |
| download | emacs-83d0b77f934416ab0957473cec2e4dd0ebeeee02.tar.gz | |
md: 2026-08-21T01:12:59+02:00
Diffstat (limited to 'custom-vars.el')
| -rw-r--r-- | custom-vars.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/custom-vars.el b/custom-vars.el index 4f21c7c..4932943 100644 --- a/custom-vars.el +++ b/custom-vars.el @@ -14,7 +14,13 @@ nushell-ts-mode offlineimap org-modern pdf-tools ultra-scroll)) '(safe-local-variable-values - '((eval let ((host (car (split-string (system-name) "\\.")))) + '((eval add-hook 'after-save-hook + (lambda nil + (when (string-suffix-p ".org" buffer-file-name) + (org-md-export-to-markdown))) + nil t) + (org-md-headline-style . atx) + (eval let ((host (car (split-string (system-name) "\\.")))) (setq-local eglot-workspace-configuration `(:nixd (:nixpkgs |
