]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Avoid small parasitic button on mode line"
authorEli Zaretskii <eliz@gnu.org>
Mon, 6 Dec 2021 18:47:43 +0000 (20:47 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 6 Dec 2021 18:47:43 +0000 (20:47 +0200)
This reverts commit c9e901f4a612646be4ce06e1619897edfb073bf0.

Turns out without that "ghost" button min-width doesn't work
on the mode line at all...

lisp/bindings.el

index 98a12a252ad5fb04b57ead6554a9c0ce29e85d28..ba3bf81b3e35326d941d39834844d7ff30473d1c 100644 (file)
@@ -501,7 +501,7 @@ mouse-1: Display Line and Column Mode Menu"))
 
 (defvar mode-line-position
   `((:propertize
-     ("" mode-line-percent-position)
+     (" " mode-line-percent-position)
      local-map ,mode-line-column-line-number-mode-map
      display (min-width (5.0))
      mouse-face mode-line-highlight