branch: master commit 7a93754b5475a1398e302dec533a7b66786187a6 Author: Artur Malabarba <bruce.connor...@gmail.com> Commit: Artur Malabarba <bruce.connor...@gmail.com>
Fix warnings --- aggressive-indent.el | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/aggressive-indent.el b/aggressive-indent.el index b9af9a3..3c007db 100644 --- a/aggressive-indent.el +++ b/aggressive-indent.el @@ -101,12 +101,14 @@ Please include your Emacs and `aggressive-indent' versions." (message "Your `aggressive-indent-version' is: %s, and your emacs version is: %s. Please include this in your report!" (eval-when-compile - (require 'lisp-mnt) - (require 'find-func) - (lm-version (find-library-name "aggressive-indent"))) + (ignore-errors + (require 'lisp-mnt) + (lm-version))) emacs-version) (browse-url "https://github.com/Bruce-Connor/aggressive-indent-mode/issues/new")) +(defvar aggressive-indent-mode) + ;;; Configuring indentarion (defcustom aggressive-indent-dont-electric-modes '(ruby-mode) "List of major-modes where `electric-indent' should be disabled."