* [PATCH] Avoid warning of free variable `old'
@ 2010-05-13 19:18 Baoqiu Cui
0 siblings, 0 replies; only message in thread
From: Baoqiu Cui @ 2010-05-13 19:18 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 120 bytes --]
Hi Carsten,
Here is a small patch to remove the warning of a free variable `old' in
org.el. Just noticed that today.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org-warning.diff --]
[-- Type: text/x-patch, Size: 532 bytes --]
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))
[-- Attachment #3: Type: text/plain, Size: 21 bytes --]
Thanks,
--
Baoqiu
[-- Attachment #4: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-13 19:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-13 19:18 [PATCH] Avoid warning of free variable `old' Baoqiu Cui
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.