* [Caml-list] merlin--phrase-goto
@ 2017-01-11 8:42 Kenichi Asai
2017-01-11 12:18 ` Raphaël Proust
0 siblings, 1 reply; 3+ messages in thread
From: Kenichi Asai @ 2017-01-11 8:42 UTC (permalink / raw)
To: caml-list
When I open an OCaml file in Emacs with merlin mode and type C-c C-n
(for merlin-phrase-next), I get an error:
Wrong number of arguments: (lambda nil ...), 1
where (lambda nil ...) is the definition of merlin--phrase-goto
function in merlin.el. When I look into merlin.el:
https://github.com/ocaml/merlin/blob/master/emacs/merlin.el
I see merlin--phrase-goto (at line 1683) accepts zero argument:
(defun merlin--phrase-goto ()
...)
but it is called from merlin-phrase-next (1692) and merlin-phrase-prev
(1698) with one argument as follows:
(merlin--phrase-goto 'next)
(merlin--phrase-goto 'prev)
Is this a bug?
Sincerely,
--
Kenichi Asai
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-12 12:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-11 8:42 [Caml-list] merlin--phrase-goto Kenichi Asai
2017-01-11 12:18 ` Raphaël Proust
2017-01-12 12:56 ` Sébastien Hinderer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox