diff options
author | Kyle Meyer <kyle@kyleam.com> | 2021-01-07 00:14:27 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2021-01-07 00:14:27 -0500 |
commit | 33de2bd8ef90483778e4b18acbce388957b6863f (patch) | |
tree | d9b380989ffe76aa42471eaa6c481f7c96f99ee9 | |
parent | 248dfcd711a7c82f7443227f0ee0f7adc5f1f477 (diff) | |
download | org-mode-33de2bd8ef90483778e4b18acbce388957b6863f.tar.gz |
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
-rw-r--r-- | lisp/org-compat.el | 2 | ||||
-rw-r--r-- | lisp/org-refile.el | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-compat.el b/lisp/org-compat.el index 1f4e2e8..af10c2d 100644 --- a/lisp/org-compat.el +++ b/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 diff --git a/lisp/org-refile.el b/lisp/org-refile.el index 1e0c339..1e6872b 100644 --- a/lisp/org-refile.el +++ b/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." |