1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00

Fix mode line mouse-1 binding when showing only column numbers

* lisp/bindings.el (mode-line-position): Fix the mouse-1 binding
when showing only column numbers (bug#56694).  Do not merge to
master.
This commit is contained in:
Miha Rihtarsic 2022-07-23 10:32:50 +03:00 committed by Eli Zaretskii
parent ae1ace1cf4
commit ba7a75e052

View File

@ -516,7 +516,7 @@ mouse-1: Display Line and Column Mode Menu")
'help-echo "Size indication mode\n\
mouse-1: Display Line and Column Mode Menu")))
(line-number-mode
((column-number-mode
(column-number-mode
(column-number-indicator-zero-based
(10
(:propertize
@ -530,13 +530,13 @@ mouse-1: Display Line and Column Mode Menu")))
(6
(:propertize
mode-line-position-line-format
,@mode-line-position--column-line-properties))))
,@mode-line-position--column-line-properties)))
(column-number-mode
(column-number-indicator-zero-based
(6
(:propertize
mode-line-position-column-format
(,@mode-line-position--column-line-properties)))
,@mode-line-position--column-line-properties))
(6
(:propertize
(:eval (string-replace