minmo : mode-line-window-selected-p for buffer-name
This commit is contained in:
parent
1d18ff12ef
commit
aa70079b44
1 changed files with 3 additions and 1 deletions
|
|
@ -169,7 +169,9 @@ Uses the fast `vc-state' cache rather than synchronous git calls."
|
|||
;;; buffer-name
|
||||
|
||||
(defun minmo-buffer-name ()
|
||||
(propertize (buffer-name) 'face 'success))
|
||||
(if (mode-line-window-selected-p)
|
||||
(propertize (buffer-name) 'face 'success)
|
||||
(buffer-name)))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;; major-mode
|
||||
|
|
|
|||
Loading…
Reference in a new issue