* org-macs.el (org-with-uninterned): New macro. Execute BODY in
enviroment with uninterned SYMBOLS.
---
lisp/org-macs.el | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/lisp/org-macs.el b/lisp/org-macs.el
index 906be61..53c60e5 100644
--- a/lisp/org-macs.el
+++ b/lisp/org-macs.el
@@ -370,6 +370,12 @@ The number of levels is controlled by
`org-inlinetask-min-level'"
(format-seconds string seconds)
(format-time-string string (seconds-to-time seconds))))
+(defmacro org-with-uninterned (symbols &rest body)
+ `(let ,(mapcar (lambda (s)
+ `(,s (make-symbol (symbol-name ',s)))) symbols)
+ ,@body))
+(put 'org-with-uninterned 'lisp-indent-function 1)
+
(provide 'org-macs)
;; arch-tag: 7e6a73ce-aac9-4fc0-9b30-ce6f89dc6668
--
1.7.2.5