Commit 64e0032f authored by Andrea De Michele's avatar Andrea De Michele Committed by Philippe Brochard
Browse files

Fix a problem with macro with-timer

parent 2ee0a21f
......@@ -135,9 +135,6 @@
(define-handler main-mode :exposure (window)
(awhen (find-frame-window window)
(display-frame-info it)))
......@@ -317,7 +317,7 @@ Return the result of the last hook"
"Start the function fun at delay seconds."
(funcall #'add-timer delay fun id))
(defmacro with-timer ((delay &optional (id (gensym))) &body body)
(defmacro with-timer ((delay &optional (id '(gensym))) &body body)
"Same thing as add-timer but with syntaxic sugar"
`(add-timer ,delay
(lambda ()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment