I tried to get the value of desktop-dirname
into the title of a frame:
(setq frame-title-format '("%b Desktop: "
(car (last (split-string desktop-dirname "/" t)))))
The (car ...)
part evaluates just fine to "Something"
, but I don't
see it in the frame title. I see only "buffer.el Desktop:"
and I don't
understand why. What's missing?