summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2010-06-16 16:27:17 +0200
committerBastien Guerry <bzg@altern.org>2010-06-16 16:27:17 +0200
commitcdee45fa21eb50f4e1769e547815b5dccd14758f (patch)
treed5f29edc72b40061b35365f0e4223423b15f2368
parent14b689946d398d352f7157bed8a1aa1e31a9e934 (diff)
downloadorg-mode-cdee45fa21eb50f4e1769e547815b5dccd14758f.tar.gz
org.el (org-display-inline-images): allow more characters for image filenames.
Thanks to gregory@dynapse.com (Gregory J. Grubbs) for this patch.
-rwxr-xr-x[-rw-r--r--]lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index b8d6fdd..b00a0d5 100644..100755
--- 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)