branch: master commit e2eb5f57dbc9abd2c27b38d3baf66fb001720261 Author: Artur Malabarba <bruce.connor...@gmail.com> Commit: Artur Malabarba <bruce.connor...@gmail.com>
Remove unused macro. --- aggressive-indent.el | 17 ----------------- 1 files changed, 0 insertions(+), 17 deletions(-) diff --git a/aggressive-indent.el b/aggressive-indent.el index b33e20f..eabe0fa 100644 --- a/aggressive-indent.el +++ b/aggressive-indent.el @@ -90,23 +90,6 @@ (require 'cl-lib) (require 'names) -(defmacro aggressive-indent--do-softly (&rest body) - "Execute BODY unobstrusively. -This means: - 1. Do nothing in several situations, specified by - `aggressive-indent-dont-indent-if' and - `aggressive-indent--internal-dont-indent-if'. - 2. Silence all messages. - 3. Never throw errors. -Meant for use in functions which go in hooks." - (declare (debug t)) - `(unless (or (run-hook-wrapped - 'aggressive-indent--internal-dont-indent-if - #'eval) - (aggressive-indent--run-user-hooks)) - (cl-letf (((symbol-function 'message) #'ignore)) - (ignore-errors ,@body)))) - ;;;###autoload (define-namespace aggressive-indent- :group indent