]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove macOS region color code
authorPo Lu <luangruo@yahoo.com>
Sat, 23 Jul 2022 11:57:50 +0000 (19:57 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 23 Jul 2022 12:00:04 +0000 (20:00 +0800)
* lisp/faces.el (region): Remove macOS specific definition.
Equivalent functionality is no longer available on free
operating systems.

lisp/faces.el

index b2589c5c06ac5640e3fa0e8dd481aab5cc6fc47d..0418cd4c05fc9c8dc93f93b0b8eba9e8a19547e5 100644 (file)
@@ -2496,15 +2496,9 @@ default."
   "Basic face for highlighting."
   :group 'basic-faces)
 
-;; Region face: under NS, default to the system-defined selection
-;; color (optimized for the fixed white background of other apps),
-;; if background is light.
 (defface region
   '((((class color) (min-colors 88) (background dark))
      :background "blue3" :extend t)
-    (((class color) (min-colors 88) (background light) (type ns))
-     :distant-foreground "ns_selection_fg_color"
-     :background "ns_selection_bg_color" :extend t)
     (((class color) (min-colors 88) (background light))
      :background "lightgoldenrod2" :extend t)
     (((class color) (min-colors 16) (background dark))