Made code less surprising
This commit is contained in:
13
eyebrowse.el
13
eyebrowse.el
@ -264,12 +264,13 @@ last window config."
|
|||||||
(or (eq eyebrowse-mode-line-style 'always)
|
(or (eq eyebrowse-mode-line-style 'always)
|
||||||
(and (eq eyebrowse-mode-line-style 'smart)
|
(and (eq eyebrowse-mode-line-style 'smart)
|
||||||
(> (length window-configs) 1))))
|
(> (length window-configs) 1))))
|
||||||
(s-concat left-delimiter
|
(s-concat
|
||||||
(s-join separator
|
left-delimiter
|
||||||
(-replace-at (-elem-index current-slot
|
(s-join separator
|
||||||
window-config-slots)
|
(-replace-at (-elem-index (number-to-string current-slot)
|
||||||
active-item window-config-slots))
|
window-config-slots)
|
||||||
right-delimiter)
|
active-item window-config-slots))
|
||||||
|
right-delimiter)
|
||||||
"")))
|
"")))
|
||||||
|
|
||||||
;; --- public functions ------------------------------------------------------
|
;; --- public functions ------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user