Skip to content

Instantly share code, notes, and snippets.

@mori-dev
Created November 13, 2009 16:41
Show Gist options
  • Save mori-dev/233957 to your computer and use it in GitHub Desktop.
Save mori-dev/233957 to your computer and use it in GitHub Desktop.
(defun my-get-buffer-names ()
(interactive)
(insert
(replace-regexp-in-string "\\\\" ""
(prin1-to-string
(pulldown-menu (mapcar 'buffer-name (buffer-list)))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment