"Constant" always means "not depending on something" but what the "something" is depends on the context. When one says that
$$
\text{If $c$ is a constant, then }\frac{d}{dx} (cf(x)) = c\frac{d}{dx} f(x),
$$
then "constant" means not depending on $x$, i.e. $c$ does not change as $x$ changes.
Example:
If one wants to prove that $\dfrac{d}{dx} 2^x = (2^x\cdot\text{constant})$, one may write
\begin{align}
\frac{d}{dx} 2^x & = \lim_{h\to0}\frac{2^{x+h}-2^x}{h} = \lim_{h\to0}\left(2^x\cdot \frac{2^h-1}{h}\right) \\[12pt]
& = 2^x\cdot\lim_{h\to0}\frac{2^h-1}{h} \text{ since $2^x$ is a constant} \\[12pt]
& = (2^x\cdot\text{constant}) \text{ since the limit is a constant}
\end{align}
- In the first "since", the word "constant" means not depending on $h$. The factor $2^x$ does not change as $h$ goes to $0$.
- In the second "since", the word "constant" means not depending on $x$. This constant remains the same as $x$ changes.
A moral: A leisurely account of what something is held not to depend on, sometimes as long as a whole sentence or maybe even two, can be worth calling the audience's attention to. It may what enables someone to understand something. One who hears only that something is a "constant" may miss the essential point.
Example: Suppose one want to prove that every function holomoprhic at a point $z_0$ in $\mathbb C$, i.e. complex-differentiable in some open neighborhood of $z_0$, is expressible as a convergent power series near $z_0$ ("Holomorphic functions are analytic."). One may start with something like
$$
f(z) = \frac{1}{2\pi i}\int_\gamma \frac{f(w)}{w-z}\, dw
$$
and after some algebra and analysis one gets it to
$$
\sum_{n=0}^\infty (z-z_0)^n \underbrace{\frac{1}{2\pi i}\int_\gamma \frac{f(w)}{(w-z_0)^{n+1}} \, dw}
$$
The crucial thing to know about the expression over the $\underbrace{\text{underbrace}}$ is that the variable $z$ does not appear in it, i.e. it is "constant" as a function of $z$. It is not constant as a function of $n$, but that is not what matters here.