Created
March 7, 2013 18:41
-
-
Save kidd/5110584 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'cl) | |
(let* ((commands (loop for s being the symbols when (commandp s) collect s)) | |
(help (describe-function (nth (random (length commands)) commands))) | |
(commented-help (replace-regexp-in-string "^" ";; " help))) | |
(setq initial-scratch-message commented-help)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment