summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cpp.el
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2020-05-15 22:24:29 +0200
committerTassilo Horn <tsdh@gnu.org>2020-05-15 22:24:29 +0200
commit28541674cdff8e4d1587391ac66818c56885f083 (patch)
tree612770d86ea68c56897922e59dcca0a550ea588b /lisp/progmodes/cpp.el
parente75f6be6cc117b0a30158a47c3231035f8ccdc20 (diff)
downloademacs-28541674cdff8e4d1587391ac66818c56885f083.tar.gz
emacs-28541674cdff8e4d1587391ac66818c56885f083.tar.bz2
emacs-28541674cdff8e4d1587391ac66818c56885f083.zip
Consider face inheritance when checking region face background.
Some themes (like dracula) make the region face inherit from some other face. If the background color of the region was inherited, `indicate-copied-region' did the switch-point-and-mark-twice dance which is not visible in case the region is highlighted. It just looked like Emacs would hang for a second after M-w. * lisp/simple.el (indicate-copied-region): Consider face inheritance when checking region face background.
Diffstat (limited to 'lisp/progmodes/cpp.el')
0 files changed, 0 insertions, 0 deletions