How can I change the color of the fill-column-indicator and have the changes visible immediately?
(defun my:change-fci-color (color)
(setq fci-rule-color color)
(fci-redraw-frame))
The previous code doesn't change the color in existing buffers until the major mode is changed or I reload the buffer.
The following code works but feels like a gross hack.
(with-current-buffer "fill-column-indicator.el"
(when fci-mode
(turn-off-fci-mode)
(turn-on-fci-mode)))
Ultimately, I want to change fci-rule-color
based on the current theme's background color. So, when I change from a light theme to a dark theme, fci-rule-color
remains a subtle shade off of the background color.