emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/aggressive-indent d0635dadef 1/2: Silence byte-compiler


From: ELPA Syncer
Subject: [elpa] externals/aggressive-indent d0635dadef 1/2: Silence byte-compiler
Date: Mon, 3 Oct 2022 18:57:17 -0400 (EDT)

branch: externals/aggressive-indent
commit d0635dadef7c76ae6ff31de14442da8eafda5a5b
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Silence byte-compiler
    
    * aggressive-indent.el (aggressive-indent-mode): Fix byte-compiler
    warnings.
---
 aggressive-indent.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aggressive-indent.el b/aggressive-indent.el
index 0234fcf29c..1dc9648997 100644
--- a/aggressive-indent.el
+++ b/aggressive-indent.el
@@ -487,7 +487,7 @@ If BODY finishes, `while-no-input' returns whatever value 
BODY produced."
 ;;; Minor modes
 ;;;###autoload
 (define-minor-mode aggressive-indent-mode
-  nil nil " =>"
+  :lighter " =>"
   `((,(kbd "C-c C-q") . aggressive-indent-indent-defun)
     ([backspace]
      menu-item "maybe-delete-indentation" ignore :filter
@@ -499,7 +499,7 @@ If BODY finishes, `while-no-input' returns whatever value 
BODY produced."
                   (not (aggressive-indent--run-user-hooks)))
          #'delete-indentation))))
   (if aggressive-indent-mode
-      (if (and global-aggressive-indent-mode
+      (if (and (bound-and-true-p global-aggressive-indent-mode)
                (or (cl-member-if #'derived-mode-p 
aggressive-indent-excluded-modes)
                    (equal indent-line-function #'indent-relative)
                    (derived-mode-p 'text-mode)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]