a feature fix for `set-c{a,d}r!`

`set-c{a,d}r!` can be used on not only global variables but also
locals.