I defined some minor modes to edit text in different laguanges, but I am having trouble defining a simple custom segment to display the value of my variable language-active that takes values such as English, French, etc. This is the segment's code:
(defun language-segment (language-active)
"Display the active (human) language."
(when (boundp 'language-active)
(format "%s" language-active)))
Likewise, my configuration for spaceline-all-the-icons is this:
Thank you for such awesome package!
I defined some minor modes to edit text in different laguanges, but I am having trouble defining a simple custom segment to display the value of my variable
language-active
that takes values such asEnglish
,French
, etc. This is the segment's code:Likewise, my configuration for spaceline-all-the-icons is this:
Somehow, nothing shows up----neither an error nor my desired segment with the word
English
or whatever is active. Have you any idea how to fix this?Best,
sync0