(fix): Add alias for 'org-roam--capture-get-point (#370)

This ensures custom templates don't break
This commit is contained in:
Jethro Kuan
2020-03-29 17:12:33 +08:00
committed by GitHub
parent 649af54640
commit ba835ef624

View File

@ -233,6 +233,8 @@ the file if the original value of :no-save is not t and
(or (s--aget org-roam-capture--info key) (or (s--aget org-roam-capture--info key)
(completing-read (format "%s: " key ) nil))) nil))) (completing-read (format "%s: " key ) nil))) nil)))
(defalias 'org-roam--capture-get-point 'org-roam-capture--get-point)
(make-obsolete 'org-roam--capture-get-point 'org-roam-capture--get-point "2020/03/29")
(defun org-roam-capture--get-point () (defun org-roam-capture--get-point ()
"Return exact point to file for org-capture-template. "Return exact point to file for org-capture-template.
The file to use is dependent on the context: The file to use is dependent on the context: