]> git.eshelyaron.com Git - emacs.git/commitdiff
log-edit: Don't add rear-nonsticky to font-lock-extra-managed-props
authorSean Whitton <spwhitton@spwhitton.name>
Mon, 24 Mar 2025 02:29:17 +0000 (10:29 +0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 25 Mar 2025 18:17:48 +0000 (19:17 +0100)
* 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.

(cherry picked from commit 0503766495cabcf6e891094e723026d663e1c580)

lisp/vc/log-edit.el

index 19994508ca72cfdc867efcd6e801953a40eb3a2e..0da0b90975cc9cc27e7fcea550d863a29889909b 100644 (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)