Browse Source

Move an obsolete declaration in "org-compat.el"

* lisp/org-compat.el (org-capture-import-remember-templates): Moved
  from "org-capture.el".
Nicolas Goaziou 3 years ago
parent
commit
796a78222a
2 changed files with 7 additions and 3 deletions
  1. 1 3
      lisp/org-capture.el
  2. 6 0
      lisp/org-compat.el

+ 1 - 3
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)
 

+ 6 - 0
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