summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el33
1 files changed, 11 insertions, 22 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 7c99e21..ebae773 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -77,8 +77,7 @@ Values: `desktop', `server', `laptop'")
         smart-tabs-mode
         smex
         undo-tree
-        use-package
-        ))
+        use-package))
 
 (require 'use-package)
 
@@ -110,8 +109,7 @@ Values: `desktop', `server', `laptop'")
                   space-before-tab
                   indentation
                   indentation::space
-                  indentation::tabs
-                  )))
+                  indentation::tabs)))
 
 (global-font-lock-mode t)
 ;; Allow font-lock-mode to do background parsing
@@ -141,8 +139,7 @@ Values: `desktop', `server', `laptop'")
                          ((member "Liberation Sans Mono" (font-family-list))
                           "Liberation Sans Mono")
                          ((member "Consolas" (font-family-list))
-                          "Consolas")
-                         ))
+                          "Consolas")))
              (variable-face "Segoe UI")
              (default-font (concat mono-face "-" (number-to-string font-size))))
         (when mono-face
@@ -218,8 +215,7 @@ Values: `desktop', `server', `laptop'")
                                           :inherit 'fixed-pitch))))
             (org-done ((t (:weight normal
                                    :strike-through t))))
-            (org-headline-done ((t (:strike-through t))))
-            ))))
+            (org-headline-done ((t (:strike-through t))))))))
 
 ;;;; Autosaves & Backups
 (let ((backup-dir (expand-file-name "~/.emacs.d/backups/")))
@@ -240,8 +236,7 @@ Values: `desktop', `server', `laptop'")
                            ("org" (mode . org-mode))
                            ("emacs" (mode . emacs-lisp-mode))
                            ("zsh" (filename . "/zsh"))
-                           ("server" (filename . "/su:root@server"))
-                           ))))
+                           ("server" (filename . "/su:root@server"))))))
 
             ;; Human-readable base-2 size column
             (define-ibuffer-column size-h
@@ -285,8 +280,7 @@ Values: `desktop', `server', `laptop'")
                   erc-autojoin-channels-alist
                   '(("freenode.net" "#emacs" "##freebsd" "#bufferbloat" "#openwrt" "#lojban" "#zfs" "#introverts")
                     ("what.cd" "#what.cd")
-                    ("beusergroup.co.uk" "#be")
-                    ))
+                    ("beusergroup.co.uk" "#be")))
             (add-to-list 'erc-modules 'scrolltobottom)
             (add-to-list 'erc-modules 'autojoin)
             (add-to-list 'erc-modules 'match)))
@@ -402,8 +396,7 @@ Values: `desktop', `server', `laptop'")
   :defer t
   :idle (require 'saveplace)
   :config (progn (setq-default save-place t)
-                 (setq save-place-file (expand-file-name ".saveplace" user-emacs-directory))
-                 ))
+                 (setq save-place-file (expand-file-name ".saveplace" user-emacs-directory))))
 
 (use-package tramp
   :defer t
@@ -449,8 +442,7 @@ Values: `desktop', `server', `laptop'")
                   auto-indent-assign-indent-level 4
                   auto-indent-backward-delete-char-behavior nil
                   auto-indent-delete-trailing-whitespace-on-save-file t
-                  auto-indent-mode-untabify-on-yank-or-paste nil
-                  )
+                  auto-indent-mode-untabify-on-yank-or-paste nil)
             (auto-indent-global-mode)))
 
 (use-package smart-tabs-mode
@@ -459,8 +451,7 @@ Values: `desktop', `server', `laptop'")
              smart-tabs-advice)
   :config (progn
             (smart-tabs-insinuate 'c 'javascript 'cperl 'python 'ruby)
-            (add-hook 'php-mode-hook #'smart-tabs-mode-enable)
-            ))
+            (add-hook 'php-mode-hook #'smart-tabs-mode-enable)))
 
 ;;;; Keybindings
 
@@ -698,8 +689,7 @@ Also returns nil if pid is nil."
                       (lambda ()
                         (message (format "Saving project desktop (%s)" project-persist-current-project-settings-dir))
                         (desktop-save project-persist-current-project-settings-dir)))
-
-            ))
+))
 
 (use-package vc
   :config (progn
@@ -980,8 +970,7 @@ Works with: arglist-cont-nonempty, arglist-close."
                       (vector (if (or (looking-at ",")
                                       (looking-at ")"))
                                   (- (current-column) 2)
-                                (current-column)
-                                )))))))))
+                                (current-column))))))))))
 
 ;;;; Web Development