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

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

[elpa] externals/aggressive-indent 113389c 42/43: Merge remote-tracking


From: Stefan Monnier
Subject: [elpa] externals/aggressive-indent 113389c 42/43: Merge remote-tracking branch 'elpa/externals/aggressive-indent'
Date: Wed, 7 Jul 2021 22:49:46 -0400 (EDT)

branch: externals/aggressive-indent
commit 113389c223ed02cc44655fe6d891242dd0e5eb09
Merge: b0ec004 7e65c9e
Author: Artur Malabarba <artur.malabarba@gmail.com>
Commit: Artur Malabarba <artur.malabarba@gmail.com>

    Merge remote-tracking branch 'elpa/externals/aggressive-indent'
---
 aggressive-indent.el | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/aggressive-indent.el b/aggressive-indent.el
index b32b587..fff394f 100644
--- a/aggressive-indent.el
+++ b/aggressive-indent.el
@@ -1,6 +1,6 @@
-;;; aggressive-indent.el --- Minor mode to aggressively keep your code always 
indented
+;;; aggressive-indent.el --- Minor mode to aggressively keep your code always 
indented  -*- lexical-binding:t -*-
 
-;; Copyright (C) 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2014, 2015, 2016 Free Software Foundation, Inc
 
 ;; Author: Artur Malabarba <emacs@endlessparentheses.com>
 ;; URL: https://github.com/Malabarba/aggressive-indent-mode
@@ -70,7 +70,7 @@
 ;;
 ;; This program is free software; you can redistribute it and/or
 ;; modify it under the terms of the GNU General Public License
-;; as published by the Free Software Foundation; either version 2
+;; as published by the Free Software Foundation; either version 3
 ;; of the License, or (at your option) any later version.
 ;;
 ;; This program is distributed in the hope that it will be useful,
@@ -354,8 +354,7 @@ Return non-nil only if the line's indentation actually 
changed."
 Call `aggressive-indent-region-function' between L and R, and
 then keep indenting until nothing more happens."
   (interactive "r")
-  (let ((p (point-marker))
-        was-begining-of-line)
+  (let ((p (point-marker)))
     (set-marker-insertion-type p t)
     (unwind-protect
         (progn



reply via email to

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