unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15443: hs-forward-sexp design issue
@ 2013-09-23 11:10 Andreas Röhler
  2013-09-23 11:33 ` Andreas Schwab
  2015-12-26  0:59 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Röhler @ 2013-09-23 11:10 UTC (permalink / raw)
  To: 15443


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!





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-26  0:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-23 11:10 bug#15443: hs-forward-sexp design issue Andreas Röhler
2013-09-23 11:33 ` Andreas Schwab
2013-09-23 13:13   ` Andreas Röhler
2013-09-23 13:16     ` Andreas Schwab
2015-12-26  0:59 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).