]> git.eshelyaron.com Git - emacs.git/commit
ruby-add-log-current-method: Reduce the use of 'nreverse'
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 12 Apr 2023 21:45:54 +0000 (00:45 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 12 Apr 2023 21:46:11 +0000 (00:46 +0300)
commita22eb9ae0f9bfb745d05ea5b069b59592f19f1eb
treefadadc41f3ce775f5d957eab59038ad2684cd5c2
parent17d803d0a7545db360c917e576aa77cea10a9b29
ruby-add-log-current-method: Reduce the use of 'nreverse'

* lisp/progmodes/ruby-mode.el (ruby-add-log-current-method):
Reduce the use of 'nreverse' (bug#62761).

* test/lisp/progmodes/ruby-mode-tests.el
(ruby-add-log-current-method-singleton-referencing-outer):
New test.
lisp/progmodes/ruby-mode.el
test/lisp/progmodes/ruby-mode-tests.el