diff options
author | Alan Mackenzie <acm@muc.de> | 2023-02-05 15:59:44 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2023-02-05 15:59:44 +0000 |
commit | 18c43bb9d6ced167aa315b4485b6283247e8b127 (patch) | |
tree | a3960777ffb76bfa741e85fe32aac59d123b453f /lisp/use-package | |
parent | 94f291d1505a6eccc3d7503992265f9e15101c86 (diff) | |
download | emacs-18c43bb9d6ced167aa315b4485b6283247e8b127.tar.gz emacs-18c43bb9d6ced167aa315b4485b6283247e8b127.tar.bz2 emacs-18c43bb9d6ced167aa315b4485b6283247e8b127.zip |
Ensure upper bound of font-lock region is less than point-max
This fixes bug #61298. The new long-lines code may have narrowed a buffer
before font-lock-default-fontify-region gets called.
* lisp/font-lock.el (font-lock-default-fontify-region): Set `end' to point-max
if it is greater that it.
Diffstat (limited to 'lisp/use-package')
0 files changed, 0 insertions, 0 deletions