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:
Carsten Dominik 2010-05-25 13:49:45 +02:00
parent 31c14d58b6
commit 8dd4bafd8e
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ MAY-INLINE-P allows inlining it as an image."
(setq thefile (setq thefile
(let (let
((str (org-export-html-format-href thefile))) ((str (org-export-html-format-href thefile)))
(if (and type (string-match-p "^//" str)) (if (and type (string-match "^//" str))
(concat type ":" str) (concat type ":" str)
str))) str)))