I've never quoted nil before, as I can't see any sense in doing that, but I just played around with some code and it seems that in most cases it is possible to quote nil without any effect. However when I use condition-case
with a quoted nil as the first argument, I get an error (wrong-type-argument symbolp (quote nil))
.
(condition-case 'nil
(/ 2 0)
(error "foo"))
Why does quoting nil cause problems when using it this way ?