Browse Source

Restore Emacs 22 compability

* org-html.el (org-html-make-link): Use string-match,
string-match-p is not compatible with Emacs 22.
Carsten Dominik 15 years ago
parent
commit
8dd4bafd8e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-html.el

+ 1 - 1
lisp/org-html.el

@@ -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)))