Created
April 4, 2015 18:56
-
-
Save gsg/19452c1c0bb54a462771 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-x c") 'compile) | |
(define-minor-mode ludus-mode "A minor mode for developing the ludus project" nil "Ludus" | |
'(([rebind compile] . ludus-compile))) | |
(defun ludus-compile () | |
(interactive) | |
(insert "ding")) | |
(define-minor-mode test-mode "test mode" nil "TEST" | |
'(([remap compile] . new-compile))) | |
(defun new-compile () | |
(interactive) | |
(insert "ding")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment