mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-21 13:53:38 -05:00
fix(org): update org-attach-store-link-p default
Org-mode's behavior when org-attach-store-link-p is 't' recently changed. When the value of org-attach-store-link-p is 't' org-store-link now suggests a 'file:' link to the attachment's original location. Setting the value to 'attached' instead suggests an 'attachment:' link utilizing the attachment directory. Ref: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0d60013f0e3980fab959542eeb171ab9a02b450c Fix: #6952
This commit is contained in:
committed by
GitHub
parent
0b921c2d34
commit
818efb263f
@@ -476,7 +476,7 @@ relative to `org-directory', unless it is an absolute path."
|
||||
|
||||
(defun +org-init-attachments-h ()
|
||||
"Sets up org's attachment system."
|
||||
(setq org-attach-store-link-p t ; store link after attaching files
|
||||
(setq org-attach-store-link-p 'attached ; store link after attaching files
|
||||
org-attach-use-inheritance t) ; inherit properties from parent nodes
|
||||
|
||||
;; Autoload all these commands that org-attach doesn't autoload itself
|
||||
|
Reference in New Issue
Block a user