diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-12-12 10:40:57 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-12-12 10:40:57 -0700 |
commit | ad1a0b3dd817ba56eb3840cec6b0ab9a78e87381 (patch) | |
tree | 6300f918d2c8ba5fe4b160dd9a8229285665a097 | |
parent | 9666c736d912f7246cc0817751573efaf4445669 (diff) |
quoting fix
-rw-r--r-- | aggressive-indent.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/aggressive-indent.el b/aggressive-indent.el index b958853..ab6d0c7 100644 --- a/aggressive-indent.el +++ b/aggressive-indent.el @@ -381,16 +381,16 @@ or messages." ;;;###autoload (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)))) + `((,(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)))) (if aggressive-indent-mode (if (and global-aggressive-indent-mode (or (cl-member-if #'derived-mode-p aggressive-indent-excluded-modes) |