]> git.eshelyaron.com Git - emacs.git/commit
ruby-mode: eliminate redundant regexp branch
authorMattias Engdegård <mattiase@acm.org>
Tue, 5 Jan 2021 11:01:32 +0000 (12:01 +0100)
committerMattias Engdegård <mattiase@acm.org>
Tue, 5 Jan 2021 11:01:32 +0000 (12:01 +0100)
commit1433a1201447f6f8b610f4d7f78a4b8a739c6572
tree3bbf04838095912f1b31e8450b9d8d0534f36916
parent77796eb0142f5d9b616f59f271ef380f099f1cac
ruby-mode: eliminate redundant regexp branch

* lisp/progmodes/ruby-mode.el (ruby-add-log-current-method):
Since ruby-operator-re matches dot, don't include both in regexp.
This pacifies relint.
lisp/progmodes/ruby-mode.el