1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

EWW: Don't clobber global value of 'text-property-default-nonsticky'

* lisp/net/eww.el (eww-mode): Set
'text-property-default-nonsticky' only in current buffer.  Do not
merge to master.  (Bug#79591)
This commit is contained in:
Eli Zaretskii 2025-10-07 09:32:36 +03:00
parent cd400326b2
commit db7fd704de

View file

@ -1363,8 +1363,8 @@ within text input fields."
(setq buffer-read-only t)
;; Insertion at the first character of a field should inherit the
;; field's face, form and field, not the previous character's.
(setq text-property-default-nonsticky '((face . t) (eww-form . t)
(field . t))))
(setq-local text-property-default-nonsticky '((face . t) (eww-form . t)
(field . t))))
(declare-function imagep "image.c")
(defvar text-scale-mode)