From cdee45fa21eb50f4e1769e547815b5dccd14758f Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Wed, 16 Jun 2010 16:27:17 +0200 Subject: [PATCH] org.el (org-display-inline-images): allow more characters for image filenames. Thanks to gregory@dynapse.com (Gregory J. Grubbs) for this patch. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 lisp/org.el diff --git a/lisp/org.el b/lisp/org.el old mode 100644 new mode 100755 index b8d6fdd10..b00a0d5c6 --- a/lisp/org.el +++ b/lisp/org.el @@ -15924,7 +15924,7 @@ BEG and END default to the buffer boundaries." (widen) (setq beg (or beg (point-min)) end (or end (point-max))) (goto-char (point-min)) - (let ((re (concat "\\[\\[\\(\\(file:\\)\\|\\([./~]\\)\\)\\([-+~./_0-9a-zA-Z]+" + (let ((re (concat "\\[\\[\\(\\(file:\\)\\|\\([./~]\\)\\)\\([-+~.:/\\_0-9a-zA-Z ]+" (substring (org-image-file-name-regexp) 0 -2) "\\)\\]" (if include-linked "" "\\]"))) old file ov img)