summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-07-02 09:19:09 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-07-02 09:19:09 +0200
commit796a78222adf85b96267c29d329acd250935d09f (patch)
tree9ed4aeb5bdb7d261ffe672d8b9def05372631199
parent20d1c565751aeea3111cdae64b38c66ffb97f9e1 (diff)
downloadorg-mode-796a78222adf85b96267c29d329acd250935d09f.tar.gz
Move an obsolete declaration in "org-compat.el"
* lisp/org-compat.el (org-capture-import-remember-templates): Moved from "org-capture.el".
-rw-r--r--lisp/org-capture.el4
-rw-r--r--lisp/org-compat.el6
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 1752c6f..1175cb4 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -1892,9 +1892,7 @@ Assume sexps have been marked with
(if jump-to-captured '(:jump-to-captured t)))))
org-remember-templates))))
-;;; The function was made obsolete by commit 65399674d5 of
-;;; 2013-02-22. This make-obsolete call was added 2016-09-01.
-(make-obsolete 'org-capture-import-remember-templates "use the `org-capture-templates' variable instead." "Org 9.0")
+
(provide 'org-capture)
diff --git a/lisp/org-compat.el b/lisp/org-compat.el
index e1d4036..8803c21 100644
--- a/lisp/org-compat.el
+++ b/lisp/org-compat.el
@@ -293,6 +293,12 @@ See `org-link-parameters' for documentation on the other parameters."
(define-obsolete-function-alias 'org-babel-number-p
'org-babel--string-to-number "Org 9.0")
+;;; The function was made obsolete by commit 65399674d5 of 2013-02-22.
+;;; This make-obsolete call was added 2016-09-01.
+(make-obsolete 'org-capture-import-remember-templates
+ "use the `org-capture-templates' variable instead."
+ "Org 9.0")
+
;;;; Obsolete link types