(add-hook): Use `static-condition-case' instead of `condition-case';