浏览代码

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