]> git.eshelyaron.com Git - sweep.git/commit
Handle module-qualification in next-clause insertion
authorEshel Yaron <me@eshelyaron.com>
Tue, 22 Nov 2022 18:14:46 +0000 (20:14 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 22 Nov 2022 18:14:46 +0000 (20:14 +0200)
commitffa70e7b1cbd0a321f64ec12e47060a29c3b96cd
treeb00d490dd6853c1289721c7f9015dfc732f3bd87
parent8c31bd2bde3b2b233f23052ef95403f22cf86c14
Handle module-qualification in next-clause insertion

* sweeprolog.el (sweeprolog-definition-at-point): also return module
name when the head term is qualified.
(sweeprolog-maybe-insert-next-clause): pass module name to...
(sweeprolog-insert-clause): new argument module.
* sweeprolog-tests.el: add a couple of relevant test cases.
sweep.pl
sweeprolog-tests.el
sweeprolog.el