浏览代码

Always create ID properties when creating links

This avoids headline-references (as opposed to referencing IDs) when implicitly
creating links in new items through `org-capture` when already in `org-capture`.
In that case, the %a template specifier will call `org-store-link`
non-interactively (as it seems) and the old setting of
`org-id-link-to-org-use-id` created links based to the headline of the target
instead of creating a new ID property.

Note that this will also always ignore CUSTOM_ID properties, but I haven't used
it anyway.
master
Daniel 2 个月前
父节点
当前提交
4d0264b34b
找不到此签名对应的密钥
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      init.el

+ 1
- 1
init.el 查看文件

@@ -923,7 +923,7 @@
923 923
   :commands (org-store-link))
924 924
 
925 925
 (use-package org-id
926
-  :custom (org-id-link-to-org-use-id 'create-if-interactive-and-no-custom-id))
926
+  :custom (org-id-link-to-org-use-id t))
927 927
 
928 928
 (use-package org-clock
929 929
   :commands (org-clock-save)

正在加载...
取消
保存