2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
+ * simple.el (with-wrapper-hook): Fix thinko.
+
* hfy-cmap.el (hfy-rgb-file): Use locate-file.
(htmlfontify-load-rgb-file): Remove unnused var `ff'.
Use with-current-buffer and string-to-number.
(global ,global))
(if (consp funs)
(if (eq t (car funs))
- (apply 'runrestofhook
- (append global (cdr funs)) nil ,argssym)
+ (runrestofhook
+ (append global (cdr funs)) nil ,argssym)
(apply (car funs)
- (lambda (&rest args)
- (runrestofhook (cdr funs) global args))
+ (lambda (&rest ,argssym)
+ (runrestofhook (cdr funs) global ,argssym))
,argssym))
;; Once there are no more functions on the hook, run
;; the original body.