[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 8632abd 39/39: Merge branch 'master' of git.sv.gnu.org:/sr
From: |
Thierry Volpiatto |
Subject: |
[elpa] master 8632abd 39/39: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa |
Date: |
Wed, 18 May 2016 18:02:55 +0000 (UTC) |
branch: master
commit 8632abdbe39180435dcf44b3d547aa81af31cf0a
Merge: 527c590 4c77f20
Author: Thierry Volpiatto <address@hidden>
Commit: Thierry Volpiatto <address@hidden>
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa
---
packages/aggressive-indent/aggressive-indent.el | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/packages/aggressive-indent/aggressive-indent.el
b/packages/aggressive-indent/aggressive-indent.el
index ac3ff96..9c1f7d7 100644
--- a/packages/aggressive-indent/aggressive-indent.el
+++ b/packages/aggressive-indent/aggressive-indent.el
@@ -348,10 +348,6 @@ or messages."
"List of (left right) limit of regions changed in the last command loop.")
(make-variable-buffer-local 'aggressive-indent--changed-list)
-(defvar aggressive-indent--balanced-parens t
- "Non-nil if the current-buffer has balanced parens.")
-(make-variable-buffer-local 'aggressive-indent--balanced-parens)
-
(defun aggressive-indent--proccess-changed-list-and-indent ()
"Indent the regions in `aggressive-indent--changed-list'."
(let ((inhibit-modification-hooks t)
@@ -371,7 +367,7 @@ or messages."
(defun aggressive-indent--indent-if-changed ()
"Indent any region that changed in the last command loop."
- (when (and aggressive-indent--changed-list
aggressive-indent--balanced-parens)
+ (when aggressive-indent--changed-list
(save-excursion
(save-selected-window
(unless (or (run-hook-wrapped
'aggressive-indent--internal-dont-indent-if #'eval)
@@ -380,19 +376,10 @@ or messages."
(redisplay)
(aggressive-indent--proccess-changed-list-and-indent)))))))
-(defun aggressive-indent--check-parens ()
- "Check if parens are balanced in the current buffer.
-Store result in `aggressive-indent--balanced-parens'."
- (setq aggressive-indent--balanced-parens
- (save-excursion
- (ignore-errors
- (zerop (car (syntax-ppss (point-max))))))))
-
(defun aggressive-indent--keep-track-of-changes (l r &rest _)
"Store the limits (L and R) of each change in the buffer."
(when aggressive-indent-mode
- (push (list l r) aggressive-indent--changed-list)
- (aggressive-indent--check-parens)))
+ (push (list l r) aggressive-indent--changed-list)))
;;; Minor modes
;;;###autoload
- [elpa] master 2bfd6a0 15/39: Ensure dired-copy-preserve-time is passed to child with its current value., (continued)
- [elpa] master 2bfd6a0 15/39: Ensure dired-copy-preserve-time is passed to child with its current value., Thierry Volpiatto, 2016/05/18
- [elpa] master 4f6b98d 24/39: Fix operation arg of callback., Thierry Volpiatto, 2016/05/18
- [elpa] master a7e8cf3 30/39: When failures have been printed to dired log add the date at bob., Thierry Volpiatto, 2016/05/18
- [elpa] master dc63e41 27/39: Revert last commit., Thierry Volpiatto, 2016/05/18
- [elpa] master c9ddbbc 11/39: Merge pull request #62 from jwiegley/backup_files, Thierry Volpiatto, 2016/05/18
- [elpa] master ed05631 03/39: Assign copyrights to the FSF, add autoloads file, Thierry Volpiatto, 2016/05/18
- [elpa] master e35506f 18/39: Remove unuseful code never called., Thierry Volpiatto, 2016/05/18
- [elpa] master af8933d 20/39: Unquote all callbacks., Thierry Volpiatto, 2016/05/18
- [elpa] master a48e509 28/39: Ensure a new line is added when printing to dired log buffer., Thierry Volpiatto, 2016/05/18
- [elpa] master 4d6efb9 25/39: Handle error also on host when async-list of file is empty., Thierry Volpiatto, 2016/05/18
- [elpa] master 8632abd 39/39: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa,
Thierry Volpiatto <=
- [elpa] master 8d1a26d 29/39: Remove unused commented code., Thierry Volpiatto, 2016/05/18
- [elpa] master 228ec4b 34/39: Handle errors file by file instead of returning on first error., Thierry Volpiatto, 2016/05/18
- [elpa] master 0b8fbed 23/39: Remove commented line, no code change., Thierry Volpiatto, 2016/05/18
- [elpa] master 3ec3fb6 02/39: Declare package-alist in async-bytecomp.., Thierry Volpiatto, 2016/05/18
- [elpa] master dd77b81 22/39: Fix formatting the help form in dired-create-files., Thierry Volpiatto, 2016/05/18
- [elpa] master 8d27590 21/39: Finally handle the failures correctly., Thierry Volpiatto, 2016/05/18
- [elpa] master 1763517 14/39: Add comment no code change., Thierry Volpiatto, 2016/05/18
- [elpa] master 9a82294 26/39: DRY use apply., Thierry Volpiatto, 2016/05/18
- [elpa] master 1c57dc3 31/39: Better handling of errors happening on child., Thierry Volpiatto, 2016/05/18
- [elpa] master dd09794 33/39: Fix success message on callback., Thierry Volpiatto, 2016/05/18