Very often, we define the limit of a function as $0 < |x -a|< \delta \implies |f(x) - L|< \epsilon$.
A lot of times we don't let $x$ equal $a$, and the reason for this is clear in the case of discontinuity. However, the book I am reading also doesn't allow $x = a$ for continuous functions.