Skip to content

Commit

Permalink
* aggressive-indent.el: Silence warning
Browse files Browse the repository at this point in the history
* aggressive-indent.el (aggressive-indent-indent-region-and-on):
Remove unused var `was-beginning-of-line'.
  • Loading branch information
monnier committed Nov 27, 2020
1 parent ebe7fb2 commit 7e65c9e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions aggressive-indent.el
@@ -1,6 +1,6 @@
;;; 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
Expand Down Expand Up @@ -311,8 +311,7 @@ messages. L and R passed to `aggressive-indent-indent-defun'."
Call `indent-region' 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
Expand Down

0 comments on commit 7e65c9e

Please sign in to comment.