Hi Carsten,

Here is a small patch to remove the warning of a free variable `old' in
org.el.  Just noticed that today.

diff --git a/lisp/org.el b/lisp/org.el
index 06daa9c..0da5ba3 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -15552,7 +15552,7 @@ BEG and END default to the buffer boundaries."
       (let ((re (concat "\\[\\[\\(\\(file:\\)\\|\\([./~]\\)\\)\\([-+~./_0-9a-zA-Z]+"
 			(substring (org-image-file-name-regexp) 0 -2)
 			"\\)\\]" (if include-linked "" "\\]")))
-	    file ov img)
+	    old file ov img)
 	(while (re-search-forward re end t)
 	  (setq old (get-char-property-and-overlay (match-beginning 1)
 						   'org-image-overlay))
Thanks,

-- 
Baoqiu
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to