In Common Lisp, there is
function, which creates new function without side-effects that takes any
number of arguments and always returns specified value.
For some reason
cl-lib doesn't provide
cl-constantly, so I guess it
should exist in pure Emacs Lisp under different name. Do you know that name?
Please don't post answers showing how to achieve effect of
constantly manually (and how to define such function), since it's absolutely trivial. This question about name of already existing function. If there is no such function, a comment about the fact will do. I've sent a bug report asking to add the function.