Skip to content

Instantly share code, notes, and snippets.

@ChillarAnand
Created July 1, 2015 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChillarAnand/23119413409f00b7e995 to your computer and use it in GitHub Desktop.
Save ChillarAnand/23119413409f00b7e995 to your computer and use it in GitHub Desktop.
helm
(defvar helm-source-commands-history
(helm-build-sync-source "Emacs commands history"
:candidates (lambda ()
(let ((cmds))
(dolist (elem extended-command-history)
(push (intern elem) cmds))
cmds))
:coerce #'intern-soft
:action #'command-execute)
"Emacs commands history")
(helm :sources helm-source-commands-history)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment