Merge branch 'unify-text-style' into 'master'
Stop setting unimportant face to cursor point and misc info See merge request jessieh/mood-line!8
This commit is contained in:
commit
6ab8e11290
@ -706,10 +706,8 @@ Checkers checked, in order: `flycheck', `flymake'."
|
||||
"Display the position of the cursor in the current buffer."
|
||||
(concat "%l:%c"
|
||||
(when mood-line-show-cursor-point
|
||||
(propertize (format ":%d" (point))
|
||||
'face 'mood-line-unimportant))
|
||||
(propertize " %p%% "
|
||||
'face 'mood-line-unimportant)))
|
||||
(format ":%d" (point)))
|
||||
" %p%% "))
|
||||
|
||||
;; ---------------------------------- ;;
|
||||
;; EOL segment
|
||||
@ -760,8 +758,7 @@ Checkers checked, in order: `flycheck', `flymake'."
|
||||
"Display the current value of `mode-line-misc-info'."
|
||||
(let ((misc-info (format-mode-line mode-line-misc-info)))
|
||||
(unless (string-blank-p misc-info)
|
||||
(concat (propertize (string-trim misc-info)
|
||||
'face 'mood-line-unimportant)
|
||||
(concat (string-trim misc-info)
|
||||
" "))))
|
||||
|
||||
;; ---------------------------------- ;;
|
||||
|
Loading…
Reference in New Issue
Block a user