I've got a lot of:
(desktop-save-mode 1)
(show-paren-mode 1)
which I'd like to collapse into:
(mapcar (lambda (fn) (fn 1)) '(desktop-save-mode show-paren-mode))
but I get an error:
Symbol’s function definition is void: fn
How can I call a list of functions with the same argument?