(internal): fix CI for compat functions (#1031)

Following the advice from the coding conventions from the Emacs manual,
we preface the compatibility functions with the org-roam namespace.
This commit is contained in:
Jethro Kuan
2020-08-12 00:04:15 +08:00
committed by GitHub
parent 22006be751
commit 7813b1fe1f
4 changed files with 24 additions and 11 deletions

View File

@ -82,8 +82,20 @@
(define-obsolete-function-alias 'org-roam-db--clear 'org-roam-db-clear
"org-roam 1.2.0")
(when (version< (org-version) "9.3")
(defalias 'org-link-make-string 'org-make-link-string))
(defalias 'org-roam-link-make-string
(if (fboundp 'org-link-make-string)
'org-link-make-string
'org-make-link-string))
(defalias 'org-roam-link-store-props
(if (fboundp 'org-link-store-props)
'org-link-store-props
'org-store-link-props))
(defalias 'org-roam-link-decode
(if (fboundp 'org-link-decode)
'org-link-decode
'org-link-escape))
;;;; Variables
(define-obsolete-variable-alias 'org-roam-graphviz-extra-options