Hello,
I am trying to update the ox-hugo package to work with zero warnings for both Org 9.1 and 9.2.
I tried adding this function:
(defsubst org-hugo--get-tags ()
"Wrapper function to pick the correct fn for getting inherited Org tags."
;; Starting Org 9.2, `org-get-tags' returns all the inherited tags
;; instead of returning only the local tags i.e. only the current
;; headline tags.
;;
https://code.orgmode.org/bzg/org-mode/commit/fbe56f89f75a8979e0ba48001a822518df2c66fe ;; For Org <= 9.1, `org-get-tags' returned a list of tags *only* at
;; the current heading, while `org-get-tags-at' returned inherited
;; tags too.
(if (fboundp #'org--get-local-tags) ;If using Org 9.2+
(org-get-tags)
(org-get-tags-at)))
Org 9.2); use ‘org-get-tags’ instead.