org.el (org-display-inline-images): allow more characters for image filenames.

Thanks to gregory@dynapse.com (Gregory J. Grubbs) for this patch.
This commit is contained in:
Bastien Guerry 2010-06-16 16:27:17 +02:00
parent 14b689946d
commit cdee45fa21
1 changed files with 1 additions and 1 deletions

2
lisp/org.el Normal file → Executable file
View File

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