Start tab numbering from 1 instead of 0 #262

This commit is contained in:
Henrik Lissner 2017-11-07 14:47:15 +01:00
parent 5f166d9297
commit 655f14a85d
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -441,7 +441,7 @@ the workspace and move to the next."
(cl-loop for name in names
for i to (length names)
collect
(propertize (format " [%d] %s " i name)
(propertize (format " [%d] %s " (1+ i) name)
'face (if (equal current-name name)
'+workspace-tab-selected-face
'+workspace-tab-face)))