]> git.eshelyaron.com Git - emacs.git/commit
Optimise ‘point in message header’ check
authorMichal Nazarewicz <mina86@mina86.com>
Tue, 9 Feb 2016 03:05:34 +0000 (14:05 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 9 Feb 2016 03:05:34 +0000 (14:05 +1100)
commit824a87f41f53eea3aa8ffcb9f065ce149213ebfb
treee60d53d03c6d7d6946e01166f265a567b263f988
parent8722e849f75ceafb82a1c17105e8ab76077a8ebc
Optimise ‘point in message header’ check

* lisp/gnus/message.el (message-point-in-header-p): Replace two unbound
regular expression matches with a single bound string match thus
reducing amount of work the function is doing.
lisp/gnus/message.el