]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid small parasitic button on mode line
authorEli Zaretskii <eliz@gnu.org>
Mon, 6 Dec 2021 17:10:33 +0000 (19:10 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 6 Dec 2021 17:10:33 +0000 (19:10 +0200)
* lisp/bindings.el (mode-line-position): Remove stray space
character, which caused a "ghost" button on the mode line.
(Bug#52332)

lisp/bindings.el

index 578406dd988b2a31d43051d89aa7292f30191c2a..8a850752fa4b23b62f5d1ed706927006e648a583 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