]> git.eshelyaron.com Git - emacs.git/commit
ruby-mode.el: puts and printf do not require args
authorSteve Purcell <steve@sanityinc.com>
Mon, 3 May 2021 07:41:44 +0000 (09:41 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 3 May 2021 07:41:44 +0000 (09:41 +0200)
commit81fc95bf22cadc09178e7ccfc13eba531660ddcd
tree6ec17bbc59e5d6829a6299642036783181984e5c
parent73513c36a93d19d802e9adf01f1383fc23dd49f5
ruby-mode.el: puts and printf do not require args

* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): puts and
printf can be called without arguments, so the font locking of
"bare" calls to either is incorrect.  The fix is to font-lock them
as for other kernel methods which accepts zero or more arguments
(bug#48180).
lisp/progmodes/ruby-mode.el