diff --git a/org-novelist.el b/org-novelist.el index 1d2cad0..13271cf 100644 --- a/org-novelist.el +++ b/org-novelist.el @@ -1921,7 +1921,7 @@ open buffer." (setq new-aliases-str (substring new-aliases-str 2))) ;; Regenerate file contents and rename it. (erase-buffer) - (insert (orgn--replace-string-in-string chosen-object new-object-name (org-file-contents object-file))) + (insert (orgn--replace-string-in-string chosen-object new-object-name (org-file-contents object-file) t)) (goto-char (point-max)) (insert appearances-subtree) (orgn--set-file-property-value "TITLE" new-object-name object-file)