diff options
Diffstat (limited to 'modally.el')
| -rw-r--r-- | modally.el | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -54,6 +54,9 @@ ((not (mode-line-window-selected-p)) 'mode-line-inactive) ((buffer-modified-p) 'modally-buffer-modified) ('modally-buffer))) + (buffer-path-face (if (mode-line-window-selected-p) + 'modally-buffer-path + 'mode-line-inactive)) (buffer-name (if buffer-file-name (if (string-match "^\\(/home/[^/]+\\)\\(.+\\)" @@ -67,8 +70,8 @@ ;; if buffer has a path (let ((path (string-join (butlast spath) "/")) (filename (car (last spath)))) - (format "\s%s/%s" - (propertize path 'face 'modally-buffer-path) + (format " %s/%s" + (propertize path 'face buffer-path-face) (propertize filename 'face buffer-face))) ;; if a buffer (format "\s%s" (propertize buffer-name 'face buffer-face)) |
