Created
April 5, 2014 06:59
-
-
Save rejuvyesh/9988329 to your computer and use it in GitHub Desktop.
varible list → string ?
This file contains 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
(dolist (mode '(magit-log-edit-mode | |
log-edit-mode | |
org-mode | |
text-mode | |
haml-mode | |
sass-mode | |
yaml-mode | |
haskell-mode | |
html-mode | |
nxml-mode | |
sh-mode | |
smarty-mode | |
clojure-mode | |
lisp-mode | |
textile-mode | |
markdown-mode | |
js2-mode | |
css-mode | |
less-css-mode | |
matlab-mode | |
enh-ruby-mode)) | |
;; Learn emacs list to string so that you can add (setup-expecting mode) before add to list | |
(setup-expecting mode | |
(add-to-list 'ac-modes mode)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment