Explorar o código

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

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

TINYCHANGE
Shoji Nishimura %!s(int64=13) %!d(string=hai) anos
pai
achega
e92ae2e762
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/org.el

+ 1 - 1
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 "" "\\]")))