Restore Emacs 22 compability
* org-html.el (org-html-make-link): Use string-match, string-match-p is not compatible with Emacs 22.
This commit is contained in:
parent
31c14d58b6
commit
8dd4bafd8e
|
@ -640,7 +640,7 @@ MAY-INLINE-P allows inlining it as an image."
|
|||
(setq thefile
|
||||
(let
|
||||
((str (org-export-html-format-href thefile)))
|
||||
(if (and type (string-match-p "^//" str))
|
||||
(if (and type (string-match "^//" str))
|
||||
(concat type ":" str)
|
||||
str)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue