[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org 33de2bd 2/2: org-compat: Take in obsolete o
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org 33de2bd 2/2: org-compat: Take in obsolete org-copy |
Date: |
Thu, 7 Jan 2021 00:57:11 -0500 (EST) |
branch: externals-release/org
commit 33de2bd8ef90483778e4b18acbce388957b6863f
Author: Kyle Meyer <kyle@kyleam.com>
Commit: Kyle Meyer <kyle@kyleam.com>
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
---
lisp/org-compat.el | 2 ++
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."