diff lisp/emacs-lisp/cl-macs.el @ 104729:aa3e957fcf20

(cl-macro-environment): Provide a docstring.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 30 Aug 2009 14:18:25 +0000
parents d2b52a0cf462
children 41455e351c50
line wrap: on
line diff
--- a/lisp/emacs-lisp/cl-macs.el	Sun Aug 30 13:59:48 2009 +0000
+++ b/lisp/emacs-lisp/cl-macs.el	Sun Aug 30 14:18:25 2009 +0000
@@ -222,7 +222,11 @@
 (defconst lambda-list-keywords
   '(&optional &rest &key &allow-other-keys &aux &whole &body &environment))
 
-(defvar cl-macro-environment nil)
+(defvar cl-macro-environment nil
+  "Keep the list of currently active macros.
+It is a list of elements of the form either:
+- (SYMBOL . FUNCTION) where FUNCTION is the macro expansion function.
+- (SYMBOL-NAME . EXPANSION) where SYMBOL-NAME is the name of a symbol macro.")
 (defvar bind-block) (defvar bind-defs) (defvar bind-enquote)
 (defvar bind-inits) (defvar bind-lets) (defvar bind-forms)