Browse Source

org-compat: Take in obsolete org-copy

* lisp/org-compat.el (org-copy): Move from org-refile.el.
* lisp/org-refile.el (org-copy): Move to org-compat.el.

Suggested-by: Marco Wahl <marcowahlsoft@gmail.com>
Ref: https://orgmode.org/list/87o8i2cpb2.fsf@gmail.com
Kyle Meyer 4 years ago
parent
commit
33de2bd8ef
2 changed files with 2 additions and 2 deletions
  1. 2 0
      lisp/org-compat.el
  2. 0 2
      lisp/org-refile.el

+ 2 - 0
lisp/org-compat.el

@@ -732,6 +732,8 @@ context.  See the individual commands for more information."
  "use `org-planning-line-re', followed by `org-ts-regexp-both' instead."
  "Org 9.4")
 
+(define-obsolete-function-alias 'org-copy 'org-refile-copy "Org 9.4")
+
 ;;;; Obsolete link types
 
 (eval-after-load 'ol

+ 0 - 2
lisp/org-refile.el

@@ -373,8 +373,6 @@ the *old* location.")
 (defvar org-refile-keep nil
   "Non-nil means `org-refile' will copy instead of refile.")
 
-(define-obsolete-function-alias 'org-copy 'org-refile-copy "Org 9.4")
-
 ;;;###autoload
 (defun org-refile-copy ()
   "Like `org-refile', but preserve the refiled subtree."