Преглед на файлове

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 години
родител
ревизия
8dd4bafd8e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)))