emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master cf83da0708: Remove macOS region color code


From: Po Lu
Subject: master cf83da0708: Remove macOS region color code
Date: Sat, 23 Jul 2022 08:00:17 -0400 (EDT)

branch: master
commit cf83da0708fde16467570adb08ade90fbcefcd44
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Remove macOS region color code
    
    * lisp/faces.el (region): Remove macOS specific definition.
    Equivalent functionality is no longer available on free
    operating systems.
---
 lisp/faces.el | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lisp/faces.el b/lisp/faces.el
index b2589c5c06..0418cd4c05 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]