Ihor Radchenko <yanta...@gmail.com> writes:

Peter Prevos <pe...@prevos.net> writes:

-*- mode: org; ispell-local-dictionary: "nederlands" -*-

It works great, except when I need to add an ID for use in Org-Roam using the org-id-get-create function.

To make it work, convert the local-var line into proper comment. Just as
you would do in any other source code file:

# -*- mode: org; ispell-local-dictionary: "nederlands" -*-
:PROPERTIES:
:ID:       a60f6a47-9db9-49d6-ac00-307c7a84e43d
:END:

When you just have the line below, it is treated as ordinary paragraph
by Org, thus the property drawer is indeed inserted before:

:PROPERTIES:
:ID:       a60f6a47-9db9-49d6-ac00-307c7a84e43d
:END:
-*- mode: org; ispell-local-dictionary: "nederlands" -*-

Best,
Ihor

Thanks Ihor, that makes sense.


--
Dr Peter Prevos
---------------
peterprevos.com

Reply via email to