summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShoji Nishimura <nishimura.shoji@gmail.com>2012-03-26 22:26:45 +0200
committerBastien Guerry <bzg@altern.org>2012-03-26 22:28:16 +0200
commite92ae2e7622a30068991ef1a651b48a377126a31 (patch)
treedb0e6503774c4bd69765def689f3eca4c6461bd3
parent6632ea95d3c73c77d90dadfd5dcc01037a999f8a (diff)
downloadorg-mode-e92ae2e7622a30068991ef1a651b48a377126a31.tar.gz
org.el (org-display-inline-images): Honor the ̀beg' parameter.
* org.el (org-display-inline-images): Honor the ̀beg' parameter. TINYCHANGE
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 0282439..f1a4b95 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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 "" "\\]")))