浏览代码

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

* lisp/org-compat.el (org-capture-import-remember-templates): Moved
  from "org-capture.el".
Nicolas Goaziou 7 年之前
父节点
当前提交
796a78222a
共有 2 个文件被更改,包括 7 次插入3 次删除
  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