]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "* lisp/wid-edit.el (widget-field): Add subtle border to face."
authorStefan Kangas <stefan@marxist.se>
Fri, 5 Nov 2021 07:24:02 +0000 (08:24 +0100)
committerStefan Kangas <stefan@marxist.se>
Fri, 5 Nov 2021 07:24:02 +0000 (08:24 +0100)
This reverts commit 8b024a6ff10f7907445ea60c4db8355638616ed1.

This lead to some alignment issues.  (Bug#51550)
Don't merge to master, where we will continue investigating.

lisp/wid-edit.el

index 05606fbfb4adf2f40119baff5749247fd801ba95..a2e9bf41ade0f411e9fa2c05df44940c9ac8465b 100644 (file)
@@ -131,21 +131,16 @@ This exists as a variable so it can be set locally in certain buffers.")
                        (((class grayscale color)
                          (background light))
                         :background "gray85"
-                         ;; We use negative thickness of the horizontal box border line to
-                         ;; avoid making lines taller when fields become visible.
-                         :box (:line-width (1 . -1) :color "gray80")
                         :extend t)
                        (((class grayscale color)
                          (background dark))
                         :background "dim gray"
-                         :box (:line-width (1 . -1) :color "gray46")
                         :extend t)
                        (t
                         :slant italic
                         :extend t))
   "Face used for editable fields."
-  :group 'widget-faces
-  :version "28.1")
+  :group 'widget-faces)
 
 (defface widget-single-line-field '((((type tty))
                                     :background "green3"