From ba7a75e052bfd24e99b79bbb161b2b0a99e7cce2 Mon Sep 17 00:00:00 2001 From: Miha Rihtarsic Date: Sat, 23 Jul 2022 10:32:50 +0300 Subject: [PATCH] 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. --- lisp/bindings.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/bindings.el b/lisp/bindings.el index 56f742a2704..5eb8e629124 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -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 -- 2.39.2