]> git.eshelyaron.com Git - emacs.git/commit
message-strip-subject-trailing-was: Refactor
authorMichal Nazarewicz <mina86@mina86.com>
Tue, 23 Feb 2016 03:45:59 +0000 (14:45 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 23 Feb 2016 03:45:59 +0000 (14:45 +1100)
commita77c6799c1f3ae30c8bbf26aa376f52c33cd554f
tree703ec741f3f169caaf977865e36dbb65cbf7bf82
parent6f0498bf290cbe066036f8bfe0d09ad99ddaab03
message-strip-subject-trailing-was: Refactor

* lisp/gnus/message.el (message-strip-subject-trailing-was): Refactor
the function replacing sequence of `if' calls with a mixture of `or'
and `and' calls instead.  This makes it shorter and containing less
internal state thus easier to follow.
lisp/gnus/message.el