From 2e993b8d4c995b8f289228d65693d7fff53b09b1 Mon Sep 17 00:00:00 2001 From: Philippe Vaucher Date: Thu, 16 Oct 2014 10:30:10 +0200 Subject: [PATCH] Remove trailing whitespace --- README.md | 4 ++-- aggressive-indent.el | 28 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 753e159ce..93247f324 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,9 @@ every programming mode, you can do something like: (global-aggressive-indent-mode 1) (add-to-list 'aggressive-indent-excluded-modes 'html-mode) - + ### Manual Installation ### - + If you don't want to install from Melpa, you can download it manually, place it in your `load-path` and require it with diff --git a/aggressive-indent.el b/aggressive-indent.el index 31a2c0b8d..b3ca3d493 100644 --- a/aggressive-indent.el +++ b/aggressive-indent.el @@ -11,39 +11,39 @@ ;; Separator: - ;;; Commentary: -;; +;; ;; `electric-indent-mode' is enough to keep your code nicely aligned when ;; all you do is type. However, once you start shifting blocks around, ;; transposing lines, or slurping and barfing sexps, indentation is bound ;; to go wrong. -;; +;; ;; `aggressive-indent-mode' is a minor mode that keeps your code always ;; indented. It reindents after every command, making it more reliable ;; than `electric-indent-mode'. -;; +;; ;; ### Instructions ### -;; +;; ;; This package is available fom Melpa, you may install it by calling -;; +;; ;; M-x package-install RET aggressive-indent -;; +;; ;; Then activate it with -;; +;; ;; (add-hook 'emacs-lisp-mode-hook #'aggressive-indent-mode) ;; (add-hook 'css-mode-hook #'aggressive-indent-mode) -;; +;; ;; You can use this hook on any mode you want, `aggressive-indent' is not ;; exclusive to emacs-lisp code. In fact, if you want to turn it on for ;; every programming mode, you can do something like: -;; +;; ;; (global-aggressive-indent-mode 1) ;; (add-to-list 'aggressive-indent-excluded-modes 'html-mode) -;; +;; ;; ### Manual Installation ### -;; +;; ;; If you don't want to install from Melpa, you can download it manually, ;; place it in your `load-path' and require it with -;; +;; ;; (require 'aggressive-indent) ;;; Instructions: @@ -156,11 +156,11 @@ Throw an error if parentheses are unbalanced." (remove-hook 'post-command-hook #'-softly-indent-defun 'local))) :autoload -(define-globalized-minor-mode global-aggressive-indent-mode +(define-globalized-minor-mode global-aggressive-indent-mode mode mode) :autoload -(defalias #'aggressive-indent-global-mode +(defalias #'aggressive-indent-global-mode #'global-aggressive-indent-mode) ) -- 2.39.2