diff options
author | Kyle Meyer <meyerkya@gmail.com> | 2013-04-20 15:13:45 -0400 |
---|---|---|
committer | Kyle Meyer <meyerkya@gmail.com> | 2013-04-20 15:13:45 -0400 |
commit | fb84247aea99249e324dc8c417d17e3471ecb3f7 (patch) | |
tree | c275ede62d37f323e668830f25fd01d268f98298 | |
parent | 58ed43ac257c8f1585a034f1e04fd1ca35884695 (diff) | |
download | emacs.d-fb84247aea99249e324dc8c417d17e3471ecb3f7.tar.gz |
remove one-off add-mode defun
-rw-r--r-- | init/km-modes.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/init/km-modes.el b/init/km-modes.el index 071ae56..e4470a1 100644 --- a/init/km-modes.el +++ b/init/km-modes.el @@ -11,8 +11,7 @@ ) "Auto mode mappings") -(defun km/add-mode (mode) - (setq auto-mode-alist - (cons mode auto-mode-alist))) - -(mapcar 'km/add-mode km/modes) +(mapcar + (lambda (mode) (setq auto-mode-alist + (cons mode auto-mode-alist))) + km/modes) |