Instantly share code, notes, and snippets.
It turns out that the ido-imenu command in use in the screencast is not in Emacs 24. I have no idea where it came from either, but here's the code for that aswell: https://gist.github.com/2360578
Why not just advice ido-imenu?
(defadvice ido-imenu (before push-mark activate)
Good question -- isn't advicing goto-char a bit risky performance-wise since it's called by so much other code, even non-interactive code?