Browse Source

Add obsolescence warning

* lisp/org-capture.el (org-capture-import-remember-templates):
Add obsolescence warning.
Aaron Ecay 4 years ago
parent
commit
f7c01f217b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      lisp/org-capture.el

+ 3 - 0
lisp/org-capture.el

@@ -1893,6 +1893,9 @@ 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)