diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-12-12 13:41:36 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-12-12 13:41:36 -0700 |
commit | ba4508b9f474b483768945ebe54b32d827a73681 (patch) | |
tree | a97d3a62bb8a8ede5e0a437536513bfa3d69de41 | |
parent | ad1a0b3dd817ba56eb3840cec6b0ab9a78e87381 (diff) |
fix indent
-rw-r--r-- | aggressive-indent.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/aggressive-indent.el b/aggressive-indent.el index ab6d0c7..faf5b11 100644 --- a/aggressive-indent.el +++ b/aggressive-indent.el @@ -382,15 +382,15 @@ or messages." (define-minor-mode aggressive-indent-mode nil nil " =>" `((,(kbd "C-c C-q") . aggressive-indent-indent-defun) - ([backspace] - menu-item "maybe-delete-indentation" ignore :filter - (lambda (&optional _) - (when (and (looking-back "^[[:blank:]]+") - ;; Wherever we don't want to indent, we probably also - ;; want the default backspace behavior. - (not (run-hook-wrapped 'aggressive-indent--internal-dont-indent-if #'eval)) - (not (aggressive-indent--run-user-hooks))) - #'delete-indentation)))) + ([backspace] + menu-item "maybe-delete-indentation" ignore :filter + (lambda (&optional _) + (when (and (looking-back "^[[:blank:]]+") + ;; Wherever we don't want to indent, we probably also + ;; want the default backspace behavior. + (not (run-hook-wrapped 'aggressive-indent--internal-dont-indent-if #'eval)) + (not (aggressive-indent--run-user-hooks))) + #'delete-indentation)))) (if aggressive-indent-mode (if (and global-aggressive-indent-mode (or (cl-member-if #'derived-mode-p aggressive-indent-excluded-modes) |