summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2016-02-09 14:05:34 +1100
committerLars Ingebrigtsen <larsi@gnus.org>2016-02-09 14:05:34 +1100
commit824a87f41f53eea3aa8ffcb9f065ce149213ebfb (patch)
treee60d53d03c6d7d6946e01166f265a567b263f988 /lisp/emacs-lisp
parent8722e849f75ceafb82a1c17105e8ab76077a8ebc (diff)
downloademacs-824a87f41f53eea3aa8ffcb9f065ce149213ebfb.tar.gz
emacs-824a87f41f53eea3aa8ffcb9f065ce149213ebfb.tar.bz2
emacs-824a87f41f53eea3aa8ffcb9f065ce149213ebfb.zip
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.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions