summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-08-11 12:56:07 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-08-12 00:03:23 -0400
commitcaddbf4957988a4043ec580edc7f463536a68884 (patch)
treef2556f4bcd39f106e5580857a88922cdd8edcbb5
parent079e0c62d3873b40a8f78de4dbe1fa83bc22d3b9 (diff)
downloademacs.d-caddbf4957988a4043ec580edc7f463536a68884.tar.gz
Replace mapcar with more appropriate mapc
-rw-r--r--init.el2
-rw-r--r--init/km-modes.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el
index 71d9c39..879ae81 100644
--- a/init.el
+++ b/init.el
@@ -4,7 +4,7 @@
(server-start)
-(mapcar
+(mapc
(lambda (f) (load-file f))
(file-expand-wildcards "~/.emacs.d/init/*.el"))
diff --git a/init/km-modes.el b/init/km-modes.el
index 97021cd..1a21fef 100644
--- a/init/km-modes.el
+++ b/init/km-modes.el
@@ -8,7 +8,7 @@
("PKGBUILD" . shell-script-mode))
"Auto mode mappings")
-(mapcar
+(mapc
(lambda (mode) (setq auto-mode-alist
(cons mode auto-mode-alist)))
km/modes)