Created
November 3, 2011 02:38
-
-
Save danking/1335635 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| (global-set-key (kbd "C-c m") | |
| (lexical-let ((previous-buffer (current-buffer))) | |
| (lambda () | |
| (interactive) | |
| (if (string-match "\*Mingus.*" (buffer-name)) | |
| (switch-to-buffer previous-buffer) | |
| (progn | |
| (setq previous-buffer (current-buffer)) | |
| (mingus)))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment