diff options
| author | Eli Zaretskii | 2025-10-07 09:32:36 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2025-10-07 09:32:36 +0300 |
| commit | db7fd704deee3cbb7d7af72126c992cbc55383f9 (patch) | |
| tree | 238e15516af6029417e5949d344c25f49974d964 | |
| parent | cd400326b2f9991cbca527caaa61649e48cf790b (diff) | |
| download | emacs-db7fd704deee3cbb7d7af72126c992cbc55383f9.tar.gz emacs-db7fd704deee3cbb7d7af72126c992cbc55383f9.zip | |
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)
| -rw-r--r-- | lisp/net/eww.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 0bf7fe5f307..f56f8b99e6e 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el | |||
| @@ -1363,8 +1363,8 @@ within text input fields." | |||
| 1363 | (setq buffer-read-only t) | 1363 | (setq buffer-read-only t) |
| 1364 | ;; Insertion at the first character of a field should inherit the | 1364 | ;; Insertion at the first character of a field should inherit the |
| 1365 | ;; field's face, form and field, not the previous character's. | 1365 | ;; field's face, form and field, not the previous character's. |
| 1366 | (setq text-property-default-nonsticky '((face . t) (eww-form . t) | 1366 | (setq-local text-property-default-nonsticky '((face . t) (eww-form . t) |
| 1367 | (field . t)))) | 1367 | (field . t)))) |
| 1368 | 1368 | ||
| 1369 | (declare-function imagep "image.c") | 1369 | (declare-function imagep "image.c") |
| 1370 | (defvar text-scale-mode) | 1370 | (defvar text-scale-mode) |