0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-20 01:18:50 +00:00

org.el (org-display-inline-images): Honor the ̀beg' parameter.

* org.el (org-display-inline-images): Honor the ̀beg' parameter.

TINYCHANGE
This commit is contained in:
Shoji Nishimura 2012-03-26 22:26:45 +02:00 committed by Bastien Guerry
parent 6632ea95d3
commit e92ae2e762

View file

@ -17177,7 +17177,7 @@ BEG and END default to the buffer boundaries."
(save-restriction
(widen)
(setq beg (or beg (point-min)) end (or end (point-max)))
(goto-char (point-min))
(goto-char beg)
(let ((re (concat "\\[\\[\\(\\(file:\\)\\|\\([./~]\\)\\)\\([^]\n]+?"
(substring (org-image-file-name-regexp) 0 -2)
"\\)\\]" (if include-linked "" "\\]")))