Subject: bug#15443: hs-forward-sexp design issue

From: Andreas Röhler <[email-masked]>
Date: Mon, 23 Sep 2013 13:10:49 +0200

hs-forward-sexp insists to be called with an argument

     (funcall hs-forward-sexp-func arg)))

That way it's not possible to instrument hs-forward-sexp-func just saying

(search-forward "something")

Instead

(lambda (arg)(search-forward "something"))

would be required.

As it's a function to be set by modes/users

life will be easier if this argument is optional.

Thanks!