summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2023-01-04 00:37:43 +0200
committerDmitry Gutov <dgutov@yandex.ru>2023-01-04 00:38:01 +0200
commit0d98fac6bbc19c7728d42d6196adf4d392ba3132 (patch)
treeb12fa30c6fbd3fc646ec73227502f8a640966f6c /lisp/emacs-lisp
parentda69f116bfc37d28942ca6d35eaff978e6805bac (diff)
downloademacs-0d98fac6bbc19c7728d42d6196adf4d392ba3132.tar.gz
emacs-0d98fac6bbc19c7728d42d6196adf4d392ba3132.tar.bz2
emacs-0d98fac6bbc19c7728d42d6196adf4d392ba3132.zip
(ruby-ts-add-log-current-function): Fix when between two methods
* lisp/progmodes/ruby-ts-mode.el (ruby-ts-add-log-current-function): Fix the case when point is between two methods. 'treesit-node-at' returs the 'def' node of the method after point in such case, so it behaved like point was inside the method below. * test/lisp/progmodes/ruby-ts-mode-tests.el (ruby-ts-add-log-current-method-outside-of-method): Update the test case. * test/lisp/progmodes/ruby-mode-tests.el (ruby-add-log-current-method-outside-of-method): Mirror that change.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions