Rudy’s OBTF Rudolf Adamkovič

Home / Emacs / Emacs / Initialization (init.el)


Custom paths

Use ID for directory name 1, with no splitting magic.

Tangled directly to ~/.emacs to avoid

org-babel-merge-params: No attachment directory for element (add :ID: or :DIR: property)
(with-eval-after-load 'org-attach
  (setopt org-attach-id-to-path-function-list
          (list (defun my-org-attach-id-to-path (id)
                  (concat id "/")))))

Footnotes:

1

We cannot use identity because the final / is needed for C-a o.


© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.