log-edit: Don't add rear-nonsticky to font-lock-extra-managed-props

* lisp/vc/log-edit.el (log-edit-mode): Don't add rear-nonsticky
to font-lock-extra-managed-props (bug#77197).  Investigated by
Paul D. Nelson <ultrano@gmail.com>.  Fix due to Stefan Monnier.
This commit is contained in:
Sean Whitton 2025-03-24 10:29:17 +08:00
parent 5830d1fa65
commit 0503766495

View file

@ -572,7 +572,6 @@ the \\[vc-prefix-map] prefix for VC commands, for example).
\\{log-edit-mode-map}"
(setq-local font-lock-defaults '(log-edit-font-lock-keywords t))
(make-local-variable 'font-lock-extra-managed-props)
(cl-pushnew 'rear-nonsticky font-lock-extra-managed-props)
(cl-pushnew 'display-line-numbers-disable font-lock-extra-managed-props)
(setq-local jit-lock-contextually t) ;For the "first line is summary".
(setq-local fill-paragraph-function #'log-edit-fill-entry)