]> git.eshelyaron.com Git - emacs.git/commitdiff
Add temporary mode-line-position change
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 25 Nov 2021 14:14:22 +0000 (15:14 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 25 Nov 2021 14:14:22 +0000 (15:14 +0100)
* lisp/bindings.el (mode-line-position): Add interim solution to
make `min-width' work here; this should be fixed for real in the
display_line machinery somewhere.

lisp/bindings.el

index 29a1baffe7b472a0d7c79820b70248b8803d4a33..e28b06a1dcd924551d74ad9ee02b831d8577c460 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