Having a delayed assignment of the form
Derivative[f][x_] := HoldForm[f[x]]
works. But if there is a delayed assignment for f as in
f[x_] := g[x] Derivative[f][x_] := HoldForm[f[x]]
SetDelayed::write: Tag Function in ((g^\[Prime])[#1]&)[x_] is Protected.
occurs. Why is
f[x] evaluated despite
HoldForm and how can I write a delayed assignment of this form?