Emacs: whitespace fixes
Alan Pearce alan@alanpearce.co.uk
Wed, 15 May 2013 15:51:27 +0100
1 files changed, 11 insertions(+), 22 deletions(-)
jump to
M emacs/init.el → emacs/init.el
@@ -77,8 +77,7 @@ smart-tab smart-tabs-mode smex undo-tree - use-package - )) + use-package)) (require 'use-package) @@ -110,8 +109,7 @@ tab-mark 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 @@ "Liberation Mono") ((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 @@ (org-formula ((t (:foreground "Firebrick" :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 @@ (quote (("default" ("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 @@ erc-keywords '("alanpearce" "lethalrocks") 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 @@ (use-package saveplace :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 @@ auto-indent-blank-lines-on-move nil 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 @@ smart-tabs-mode-enable 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 @@ (add-hook 'project-persist-after-save-hook (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 @@ (skip-chars-forward " \t")) (vector (if (or (looking-at ",") (looking-at ")")) (- (current-column) 2) - (current-column) - ))))))))) + (current-column)))))))))) ;;;; Web Development