Your proof and your notes are missing the relevance of this theorem, and I also think something has been lost in translation.
The implication is: Derivatives cannot have simple discontinuities. They can have discontinuities, just not simple discontinuities.
How does Spivak say it?
Suppose $f$ is continous at $a$ and $f'(x)$ exists at all points in an interval that includes $a$, except perhaps at $a,$ and $\lim_\limits{x\to a} f'(x)$ exists:
Then $f'(a) =\lim_\limits{x\to a} f'(x)$
$f'(a) \lim_\limits{h\to 0} \frac {f(a + h) - f(a)}{h}$
for sufficiently small $h>0, f$ is continuous in $[a,a+h]$ and differentiable in $(a,a+h)$ and the mean value theorem applies
There exists an $\alpha_h \in (a,a+h)$ such that $f'(\alpha_h) = \frac {f(a+h) - f(a)}{h}$
And $\alpha_h$ approaches $a$ as $h$ approaches $0.$
$\lim_\limits{h\to 0^+} \frac {f(a + h) - f(a)}{h} = \lim_\limits{\alpha_h \to a} f'(\alpha_h) = \lim_\limits{x \to a} f'(x)$
And a similar argument is made for the left hand limit.
It does not have the step $\lim_\limits{x\to a^+} f(c_x) = \lim_\limits{x\to a^+} f'(x)$ that was troubling you.
And now for something completely different. How does Rudin tackle the problem? (Actually after including this I see that it is already in your book)
Rudin proves something that I think is a little bit more general.
If the derivative is defined everywhere on an interval, the intermediate value property applies.
Suppose $f$ is a differentiable on $[a,b]$ and suppose $f'(a) < \lambda < f'(b)$ then there exists an $x \in (a,b)$ such that $f'(x) = \lambda$
Consider $g(t) = f(t) - \lambda t$
As $g'(a) < 0$ then there is a $t_1> a$ such that $g(t_1) < g(a)$
and $g'(b) > 0$ implies there exists a $t_2 < b$ such that $g(t_2) < g(b)$
$g(t)$ attains a minimum at some point $x\in (a,b)$
$g'(x) = 0\\
f(x) = \lambda$
If $f'(a) > f'(b)$ a similar result holds.