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:
parent
0b921c2d34
commit
818efb263f
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ relative to `org-directory', unless it is an absolute path."
|
||||||
|
|
||||||
(defun +org-init-attachments-h ()
|
(defun +org-init-attachments-h ()
|
||||||
"Sets up org's attachment system."
|
"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
|
org-attach-use-inheritance t) ; inherit properties from parent nodes
|
||||||
|
|
||||||
;; Autoload all these commands that org-attach doesn't autoload itself
|
;; Autoload all these commands that org-attach doesn't autoload itself
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue