|
@@ -383,8 +383,19 @@ the *old* location.")
|
|
(let ((org-refile-keep t))
|
|
(let ((org-refile-keep t))
|
|
(org-refile nil nil nil "Copy")))
|
|
(org-refile nil nil nil "Copy")))
|
|
|
|
|
|
|
|
+;;;###autoload
|
|
|
|
+(defun org-refile-reverse (&optional arg default-buffer rfloc msg)
|
|
|
|
+ "Refile while temporarily toggling `org-reverse-note-order'.
|
|
|
|
+So if `org-refile' would append the entry as the last entry under
|
|
|
|
+the target heading, `org-refile-reverse' will prepend it as the
|
|
|
|
+first entry, and vice-versa."
|
|
|
|
+ (interactive "P")
|
|
|
|
+ (let ((org-reverse-note-order (not (org-notes-order-reversed-p))))
|
|
|
|
+ (org-refile arg default-buffer rfloc msg)))
|
|
|
|
+
|
|
(defvar org-capture-last-stored-marker)
|
|
(defvar org-capture-last-stored-marker)
|
|
|
|
|
|
|
|
+
|
|
;;;###autoload
|
|
;;;###autoload
|
|
(defun org-refile (&optional arg default-buffer rfloc msg)
|
|
(defun org-refile (&optional arg default-buffer rfloc msg)
|
|
"Move the entry or entries at point to another heading.
|
|
"Move the entry or entries at point to another heading.
|