aboutsummaryrefslogtreecommitdiffstats
path: root/lib/malloc/scratch_buffer_set_array_size.c
diff options
context:
space:
mode:
authorDmitry Gutov2023-01-04 00:37:43 +0200
committerDmitry Gutov2023-01-04 00:38:01 +0200
commit0d98fac6bbc19c7728d42d6196adf4d392ba3132 (patch)
treeb12fa30c6fbd3fc646ec73227502f8a640966f6c /lib/malloc/scratch_buffer_set_array_size.c
parentda69f116bfc37d28942ca6d35eaff978e6805bac (diff)
downloademacs-0d98fac6bbc19c7728d42d6196adf4d392ba3132.tar.gz
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 'lib/malloc/scratch_buffer_set_array_size.c')
0 files changed, 0 insertions, 0 deletions