diff --git a/lisp/ox.el b/lisp/ox.el index 8ee61c518..525039b8b 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -4032,7 +4032,7 @@ Return value can be an object, an element, or nil: Assume LINK type is \"fuzzy\". White spaces are not significant." (let* ((raw-path (org-element-property :path link)) - (match-title-p (eq (aref raw-path 0) ?*)) + (match-title-p (eq (string-to-char raw-path) ?*)) ;; Split PATH at white spaces so matches are space ;; insensitive. (path (org-split-string