From: Sean Whitton Date: Mon, 24 Mar 2025 02:29:17 +0000 (+0800) Subject: log-edit: Don't add rear-nonsticky to font-lock-extra-managed-props X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=edd1249d332137ee7adc3d22b14dd41da045c072;p=emacs.git 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 . Fix due to Stefan Monnier. (cherry picked from commit 0503766495cabcf6e891094e723026d663e1c580) --- diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el index 19994508ca7..0da0b90975c 100644 --- a/lisp/vc/log-edit.el +++ b/lisp/vc/log-edit.el @@ -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)