summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-06 13:12:36 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-06 13:12:36 -0500
commitbbf4a28f2a7640ec06d997f9d24c94c5d425dd1b (patch)
tree8091aaebe69050156dd79663150288858e617847 /.config/emacs
parentec527987b4389e3139567d04d66d97db843e46ef (diff)
emacs/init.el: Use ;; for comment instead of ;
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el64
1 files changed, 32 insertions, 32 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 4bce12a..479db10 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -1,5 +1,5 @@
-; This config requires Emacs 24(+?)
-;; Use XDG-ish locations ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; This config requires Emacs 24(+?)
+;;;; Use XDG-ish locations ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(setq xdg-cache-home (file-name-as-directory (or (getenv "XDG_CACHE_HOME") "~/.cache")))
(setq
package-user-dir (concat xdg-cache-home "emacs/elpa")
@@ -15,7 +15,7 @@
wl-init-file (concat user-emacs-directory "wl.el")
)
-;; The basics that I can't use Emacs without ;;;;;;;;;;;;;;;;;;;;;;;;;
+;;;; The basics that I can't use Emacs without ;;;;;;;;;;;;;;;;;;;;;;;
(show-paren-mode 1)
(column-number-mode 1)
(line-number-mode 1)
@@ -37,18 +37,18 @@
(load custom-file 'noerror)
-;; Early settings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-; This isn't particularly important, but set it before doing a whole
-; lot (loading packages), so there isn't a weird change in text size.
+;;;; Early settings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; This isn't particularly important, but set it before doing a whole
+;; lot (loading packages), so there isn't a weird change in text size.
(set-face-attribute 'default nil :height 80)
-;; Bootstrap el-get ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-; This downloads and installs el-get (package management) if isn't
-; installed.
+;;;; Bootstrap el-get ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; This downloads and installs el-get (package management) if isn't
+;; installed.
-; Derived from ELPA installation
-; http://tromey.com/elpa/install.html
+;; Derived from ELPA installation
+;; http://tromey.com/elpa/install.html
(defun eval-url (url)
(let ((buffer (url-retrieve-synchronously url)))
(save-excursion
@@ -64,25 +64,25 @@
(eval-url "https://github.com/dimitri/el-get/raw/master/el-get-install.el")))
-;; Install packages ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-; This is kinda funny how it works.
-;
-; package.el/ELPA (The standard package manager in Emacs 24) has
-; terrible programatic management. It's great at installing packages,
-; but only interactively. So, I
-; 1) Disable package.el from getting loading all downloaded packages
-; 2) Use el-get to load a specified list of packages from elpa.
-;
-; This is also nice because I can do event-base programming for what
-; to do once a package is loaded, using :after.
+;;;; Install packages ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; This is kinda funny how it works.
+;;
+;; package.el/ELPA (The standard package manager in Emacs 24) has
+;; terrible programatic management. It's great at installing packages,
+;; but only interactively. So, I
+;; 1) Disable package.el from getting loading all downloaded packages
+;; 2) Use el-get to load a specified list of packages from elpa.
+;;
+;; This is also nice because I can do event-base programming for what
+;; to do once a package is loaded, using :after.
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
(setq package-enable-at-startup nil)
-; What packages el-get should get from ELPA (if it gets them at all)
+;; What packages el-get should get from ELPA (if it gets them at all)
(setq el-get-sources '(
- ; Minor modes
- (:name dtrt-indent :type elpa ; Detect indent style for existing files
+ ;; Minor modes
+ (:name dtrt-indent :type elpa ;; Detect indent style for existing files
:after (dtrt-indent-mode 1))
(:name page-break-lines :type elpa ; Display form-feeds pretty
:after '(lambda ()
@@ -90,11 +90,11 @@
page-break-lines-mode page-break-lines-mode
:group 'page-break-lines)
(global-page-break-lines-mode 1)))
- (:name smart-tabs-mode :type elpa ; Indent with tabs, align with spaces
+ (:name smart-tabs-mode :type elpa ;; Indent with tabs, align with spaces
:after (progn
(smart-tabs-mode 1)
(apply 'smart-tabs-insinuate (mapcar 'car smart-tabs-insinuate-alist))))
- ; Major modes
+ ;; Major modes
(:name coffee-mode :type elpa
:after (add-hook 'coffee-mode-hook
'(lambda ()
@@ -108,18 +108,18 @@
:after (put 'nginx-indent-level 'safe-local-variable 'integerp))
(:name scss-mode :type elpa)
))
-; What packages el-get should install, both from above, and it's
-; internal list of sources.
+;; What packages el-get should install, both from above, and it's
+;; internal list of sources.
(el-get 'sync '(el-get
- ; Minor modes
+ ;; Minor modes
dtrt-indent
smart-tabs-mode
page-break-lines
- ; Major modes
+ ;; Major modes
apel flim semi wanderlust
markdown-mode
nginx-mode
- ;nxhtml ; nxhtml is invasive, only enable if actively using
+ ;;nxhtml ; nxhtml is invasive, only enable if actively using
php-mode-improved
))