Search found 1 match

by elaliquo
Sun Apr 02, 2017 10:38 am
Forum: Emacs Lisp
Topic: executing a random command
Replies: 1
Views: 26242

executing a random command

I am writing a function that will implement a random colour theme in emacs. Have a look at this example: (defun random-colour-theme () ;; written 2017-04-02 "Pick a random colour theme." (interactive) (setq randomNumber (random 2)) (setq nameOfRandomColorTheme (nth randomNumber '( "co...