Subject: Suggest warning: forward-sexp not from program
From: Andreas Röhler <[email-masked]>
To: [email-masked]
Date: Thu, 13 Jun 2013 18:14:54 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

as `forward-sexp-function' might be set by users, `forward-sexp' is susceptible to fail when built into a program - which executes then set new binding.
Just came across that mistake.

Suggest a warning in it's docstring, saying something like: "Don't use..."
While pointing at core-function `scan-sexp' resp. `forward-sexp-function'.

Thanks,

Andreas