From 17f1a6aff093859ff6fd3d1e3a9f1b0ed72a6005 Mon Sep 17 00:00:00 2001 From: David Florness Date: Tue, 6 Feb 2018 21:32:12 -0700 Subject: [PATCH] Convert all tabs to spaces --- init.el | 12 ++++++------ lisp/setup-dev.el | 24 ++++++++++++------------ lisp/setup-helm.el | 18 +++++++++--------- lisp/setup-keys.el | 6 +++--- lisp/setup-packages.el | 2 +- 5 files changed, 31 insertions(+), 31 deletions(-) diff --git a/init.el b/init.el index d30b33a..fd8d288 100644 --- a/init.el +++ b/init.el @@ -33,8 +33,8 @@ :ensure t :commands (markdown-mode gfm-mode) :mode (("README\\.md\\'" . gfm-mode) - ("\\.md\\'" . markdown-mode) - ("\\.markdown\\'" . markdown-mode)) + ("\\.md\\'" . markdown-mode) + ("\\.markdown\\'" . markdown-mode)) :init (setq markdown-command "multimarkdown")) (use-package smartparens @@ -97,8 +97,8 @@ (unless (package-installed-p 'org-plus-contrib) (package-install 'org-plus-contrib)) (setq org-default-notes-file "~/notes.org" - org-return-follows-link t - org-read-date-force-compatible-dates nil)) + org-return-follows-link t + org-read-date-force-compatible-dates nil)) :bind (("C-c a" . org-agenda) ("C-c c" . org-capture) @@ -163,8 +163,8 @@ :ensure t :after python :config (progn - (add-hook 'python-mode-hook 'anaconda-mode) - (add-hook 'python-mode-hook 'anaconda-eldoc-mode))) + (add-hook 'python-mode-hook 'anaconda-mode) + (add-hook 'python-mode-hook 'anaconda-eldoc-mode))) (use-package company-anaconda :ensure t diff --git a/lisp/setup-dev.el b/lisp/setup-dev.el index ed22440..54c5360 100644 --- a/lisp/setup-dev.el +++ b/lisp/setup-dev.el @@ -11,8 +11,8 @@ ;; show unnecessary whitespace that can mess up your diff (add-hook 'prog-mode-hook - (lambda () (interactive) - (setq show-trailing-whitespace 1))) + (lambda () (interactive) + (setq show-trailing-whitespace 1))) ;; set appearance of a tab that is represented by 8 spaces @@ -23,9 +23,9 @@ (global-set-key (kbd "") (lambda () - (interactive) - (setq-local compilation-read-command nil) - (call-interactively 'compile))) + (interactive) + (setq-local compilation-read-command nil) + (call-interactively 'compile))) ;; setup GDB @@ -66,7 +66,7 @@ :ensure t :bind (:map mode-specific-map - ("p" . projectile-command-map)) + ("p" . projectile-command-map)) :config (progn (projectile-mode))) @@ -121,7 +121,7 @@ (use-package flycheck-rtags :ensure t) (use-package helm-rtags :ensure t) (setq rtags-autostart-diagnostics t - rtags-completions-enabled t) + rtags-completions-enabled t) (with-eval-after-load 'company ;; (push 'company-rtags company-backends) (add-to-list 'company-backends 'company-rtags)) @@ -143,8 +143,8 @@ :config (progn (dolist (map `(,emacs-lisp-mode-map - ;; ,ielm-map - ,lisp-interaction-mode-map)) + ;; ,ielm-map + ,lisp-interaction-mode-map)) (evil-define-key 'normal map (kbd "M-.") 'elisp-slime-nav-find-elisp-thing-at-point) (evil-define-key 'normal map (kbd "M-,") 'pop-tag-mark)))) @@ -156,9 +156,9 @@ (use-package importmagic - :ensure t - :config - (add-hook 'python-mode-hook 'importmagic-mode)) + :ensure t + :config + (add-hook 'python-mode-hook 'importmagic-mode)) (provide 'setup-dev) diff --git a/lisp/setup-helm.el b/lisp/setup-helm.el index ca78982..2286aa1 100644 --- a/lisp/setup-helm.el +++ b/lisp/setup-helm.el @@ -42,10 +42,10 @@ (when (executable-find "curl") (setq helm-net-prefer-curl t)) (add-hook 'helm-after-initialize-hook - ;; hide the cursor in helm buffers - (lambda () - (with-helm-buffer - (setq cursor-in-non-selected-windows nil)))) + ;; hide the cursor in helm buffers + (lambda () + (with-helm-buffer + (setq cursor-in-non-selected-windows nil)))) (helm-mode 1))) @@ -68,11 +68,11 @@ :init (progn (setq helm-gtags-ignore-case t - helm-gtags-auto-update t - helm-gtags-use-input-at-cursor t - helm-gtags-pulse-at-cursor t - helm-gtags-prefix-key (kbd "C-c g") - helm-gtags-suggested-key-mapping t) + helm-gtags-auto-update t + helm-gtags-use-input-at-cursor t + helm-gtags-pulse-at-cursor t + helm-gtags-prefix-key (kbd "C-c g") + helm-gtags-suggested-key-mapping t) (add-hook 'dired-mode-hook 'helm-gtags-mode) (add-hook 'eshell-mode-hook 'helm-gtags-mode) (add-hook 'asm-made-hook 'helm-gtags-mode)) diff --git a/lisp/setup-keys.el b/lisp/setup-keys.el index 9fb6be1..20bcfc7 100644 --- a/lisp/setup-keys.el +++ b/lisp/setup-keys.el @@ -13,7 +13,7 @@ :init (progn (setq evil-want-C-u-scroll t - evil-want-integration nil)) + evil-want-integration nil)) :config (progn (require 'evil) @@ -60,8 +60,8 @@ (progn (add-hook 'org-mode-hook 'evil-org-mode) (add-hook 'evil-org-mode-hook - (lambda () - (evil-org-set-key-theme))))) + (lambda () + (evil-org-set-key-theme))))) ;;; I don't always know where my frames are, and I want a way to kill diff --git a/lisp/setup-packages.el b/lisp/setup-packages.el index 3f2d85b..aa1c7d7 100644 --- a/lisp/setup-packages.el +++ b/lisp/setup-packages.el @@ -15,7 +15,7 @@ ;;; Add melpa archive (let* ((no-ssl (and (memq system-type '(windows-nt ms-dos)) - (not (gnutls-available-p)))) + (not (gnutls-available-p)))) (url (concat (if no-ssl "http" "https") "://melpa.org/packages/"))) (add-to-list 'package-archives (cons "melpa" url) t)) -- 2.38.4