[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [PATCH] Avoid warning of free variable `old'
From: |
Baoqiu Cui |
Subject: |
[Orgmode] [PATCH] Avoid warning of free variable `old' |
Date: |
Thu, 13 May 2010 12:18:32 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Orgmode] [PATCH] Avoid warning of free variable `old',
Baoqiu Cui <=