/ Published in: Emacs Lisp
                    
                                        When called, this function sets the background color of the mode-line to one of the defined colors randomly.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 (defun set-random-mode-line-background() (interactive) (setq ncolors (length (defined-colors))) (random t) (set-face-background 'mode-line (nth (random ncolors) (defined-colors))))
URL: set-random-mode-line-background
Comments
                    Subscribe to comments
                
                