]> git.eshelyaron.com Git - dict.git/commit
Avoid moving cursor while renaming variables from context menu
authorEshel Yaron <me@eshelyaron.com>
Wed, 1 Feb 2023 18:09:39 +0000 (20:09 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 1 Feb 2023 18:09:39 +0000 (20:09 +0200)
commit2f1e6c035fd256e15b18d38d0553c91ec740d59c
tree21df06cd06a93e6639303b6639b62d3918ac8316
parent78b8ceb0fcef5f516913d5868c74966fe06b9d44
Avoid moving cursor while renaming variables from context menu

* sweeprolog.el (sweeprolog-analyze-term-at-point): new optional
argument POINT.
(sweeprolog-rename-variable): use it instead of moving point during
prompting to avoid the cursor being displayed at the click position
when called from the context menu.
sweeprolog.el