فهرست منبع

Tiny refactoring

* lisp/org.el (org-activate-plain-links): Tiny refactoring.
Nicolas Goaziou 9 سال پیش
والد
کامیت
73c59ca4ff
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -5849,7 +5849,7 @@ prompted for."
 
 (defun org-activate-plain-links (limit)
   "Add link properties for plain links."
-  (when (and (re-search-forward (concat org-plain-link-re) limit t)
+  (when (and (re-search-forward org-plain-link-re limit t)
 	     (not (org-in-src-block-p)))
     (let ((face (get-text-property (max (1- (match-beginning 0)) (point-min))
 				   'face))