In the proof of the delta method related with the convergence in distribution, I couldn't understand the statement below.
When $ \sqrt{n} (X_n - \mu) \rightarrow ^D N(0, \sigma^2 ) $ ,
\begin{equation} f(X_n) = f(\mu) + f'(\mu)(X_n -\mu ) + o_p (|X_n - \mu |), \end{equation}
where $a_n = o_p(b_n)$ means that $ \frac{a_n}{b_n} \rightarrow^p 0$ as $n \rightarrow \infty $.
I think I have to show this statement is true.
\begin{equation} g(X_n) \equiv \frac{f(X_n) - f(\mu)}{X_n -\mu} - f'(\mu) \rightarrow^p 0 \end{equation}
In some textbooks and pdf files, they define a new countuous function h(x) such that
$$ h(x) = \begin{cases} g(x) & \text{if x $\ne$ 0}\\ 0 & \text{if x $\eqcirc$ 0}\ \end{cases} $$
Then, by continuous mapping theorem, $ h(X_n) \rightarrow ^p 0$. So, they say $g(X_n) \rightarrow ^p 0$.
But, because $ h(X_n) \ne g(X_n)$ (at x=0 ), I couldn't convince myself that $ h(X_n) \rightarrow ^p 0$ => $g(X_n) \rightarrow ^p 0$ .
Is there no problem of insisting that $ h(X_n) \rightarrow ^p 0$ => $g(X_n) \rightarrow ^p 0$ ?
Thanks for reading my question in advance.