1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

Don't handle reverseVideo X resource specially

* lisp/term/x-win.el (window-system-initialization): Don't handle
reverseVideo specially (bug#32921).
This commit is contained in:
Lars Ingebrigtsen 2022-06-19 15:29:21 +02:00
parent e125d4b820
commit 94d76adde1
2 changed files with 8 additions and 8 deletions

View File

@ -151,6 +151,14 @@ of 'user-emacs-directory'.
* Incompatible changes in Emacs 29.1
---
** Previously, the X reverseVideo value at startup was heeded for all frames.
This meant that if you had a reverseVideo resource on the initial
display, and then opened up a new frame on a display without any
explicit reverseVideo setting, it would get heeded there, too. (This
included terminal frames.) In Emacs 29, the reverseVideo X resource
is handled like all the other X resources, and set on a per-frame basis.
+++
** 'E' in 'query-replace' now edits the replacement with exact case.
Previously, this command did the same as 'e'.

View File

@ -1291,14 +1291,6 @@ This returns an error if any Emacs frames are X frames."
(cons (cons 'width (cdr (assq 'width parsed)))
default-frame-alist))))))
;; Check the reverseVideo resource.
(let ((case-fold-search t))
(let ((rv (x-get-resource "reverseVideo" "ReverseVideo")))
(if (and rv
(string-match "^\\(true\\|yes\\|on\\)$" rv))
(setq default-frame-alist
(cons '(reverse . t) default-frame-alist)))))
;; Set x-selection-timeout, measured in milliseconds.
(let ((res-selection-timeout (x-get-resource "selectionTimeout"
"SelectionTimeout")))