|
@@ -270,7 +270,7 @@ this heading."
|
|
;; No specific heading, just go to end of file.
|
|
;; No specific heading, just go to end of file.
|
|
(goto-char (point-max)) (insert "\n"))
|
|
(goto-char (point-max)) (insert "\n"))
|
|
;; Paste
|
|
;; Paste
|
|
- (org-paste-subtree (org-get-valid-level level 1))
|
|
|
|
|
|
+ (org-paste-subtree (org-get-valid-level level (and heading 1)))
|
|
|
|
|
|
;; Mark the entry as done
|
|
;; Mark the entry as done
|
|
(when (and org-archive-mark-done
|
|
(when (and org-archive-mark-done
|