On p96, chapter 5 in Spivak (3th edition), the definition of limit is given:
The function $f$ approaches the limit $l$ near $a$ means: for every $\epsilon >0$, there is some $\delta > 0$, such that for all $x$, if $0 < |x-a| < \delta$, then $|f(x)-l| < \epsilon$
Later in the same chapter (p104), it is mentioned that there must be $\delta > 0$ such that $f(x)$ is defined for $x$ satisfying $0 < |x-a| < \delta$, otherwise the clause $0 < |x-a| < \delta$, then $|f(x)-l| < \epsilon$ wouldn't make sense.
Shouldn't this remark be part of Spivak's definition of limit?
So the definition should better be:
Let $f$ be a real valued function, at least defined in some neighborhood of $a$ (not necessarily containing $a$). Then,the function $f$ approaches the limit $l$ near $a$ means: for every $\epsilon >0$, there is some $\delta > 0$, such that for all $x$, if $0 < |x-a| < \delta$, then $|f(x)-l| < \epsilon$