Explorar o código

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 %!s(int64=15) %!d(string=hai) anos
pai
achega
8dd4bafd8e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)))