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:
parent
14b689946d
commit
cdee45fa21
|
@ -15924,7 +15924,7 @@ BEG and END default to the buffer boundaries."
|
||||||
(widen)
|
(widen)
|
||||||
(setq beg (or beg (point-min)) end (or end (point-max)))
|
(setq beg (or beg (point-min)) end (or end (point-max)))
|
||||||
(goto-char (point-min))
|
(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)
|
(substring (org-image-file-name-regexp) 0 -2)
|
||||||
"\\)\\]" (if include-linked "" "\\]")))
|
"\\)\\]" (if include-linked "" "\\]")))
|
||||||
old file ov img)
|
old file ov img)
|
||||||
|
|
Loading…
Reference in New Issue