1
0
Fork 0
mirror of https://git.sr.ht/~ryuslash/yoshi-theme synced 2025-01-31 03:15:52 +01:00

Add spaces around the buffer id

This commit is contained in:
Tom Willemse 2020-12-18 00:01:55 -08:00
parent fac9353d72
commit 8852f98e46

View file

@ -32,6 +32,13 @@
(deftheme yoshi (deftheme yoshi
"Created 2012-09-24") "Created 2012-09-24")
(defun yoshi-theme-add-space-to-first-arg (args)
"Return ARGS with the car modified to contain 2 spaces."
(cons (format " %s " (car args)) (cdr args)))
(advice-add 'propertized-buffer-identification
:filter-args #'yoshi-theme-add-space-to-first-arg)
(let ((yoshi-0 "#111414") (let ((yoshi-0 "#111414")
(yoshi-1 "#2c3434") (yoshi-1 "#2c3434")
(yoshi-2 "#475454") (yoshi-2 "#475454")