Skip to content

Commit

Permalink
Fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed May 30, 2024
1 parent f42b594 commit b8ded2e
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions jcs-modeline.el
Original file line number Diff line number Diff line change
Expand Up @@ -323,18 +323,19 @@ Position argument ARG0."
mode-line-modes))))
(lst (cl-remove-if #'null (list icon line-modes)))
(ind (mapconcat #'identity lst " ")))
(propertize ind
'mouse-face 'mode-line-highlight
'help-echo "Major and minor modes
(concat (propertize ind
'mouse-face 'mode-line-highlight
'help-echo "Major and minor modes
mouse-1: Toggle display of major mode name"
'local-map (let ((map (make-sparse-keymap)))
(define-key map (vector 'mode-line 'mouse-1)
(lambda (&rest _)
(interactive)
(setq jcs-modeline-show-mode-name
(not jcs-modeline-show-mode-name))
(force-mode-line-update t)))
map))))
'local-map (let ((map (make-sparse-keymap)))
(define-key map (vector 'mode-line 'mouse-1)
(lambda (&rest _)
(interactive)
(setq jcs-modeline-show-mode-name
(not jcs-modeline-show-mode-name))
(force-mode-line-update t)))
map))
" ")))

;;
;;; Line and Columns
Expand Down

0 comments on commit b8ded2e

Please sign in to comment.