[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rubocop e9a74ce 20/64: Use lexical binding as default
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rubocop e9a74ce 20/64: Use lexical binding as default |
Date: |
Wed, 11 Aug 2021 10:07:57 -0400 (EDT) |
branch: elpa/rubocop
commit e9a74cee1c341421fea76c08f9c7d74fec3bb850
Author: renan-ranelli <renanranelli@gmail.com>
Commit: renan-ranelli <renanranelli@gmail.com>
Use lexical binding as default
The `recompile` command won't work since the definitions of `file-name`
in `rubocop--file-command` (line 122) and `directory` in
`rubocop--dir-command` (line 86) won't be available in the lambdas given
to the `compilation-start` function.
By adding lexical binding as a default option for the file, the problem
is seamlessly solved.
---
rubocop.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rubocop.el b/rubocop.el
index 386bcb2..dae674a 100644
--- a/rubocop.el
+++ b/rubocop.el
@@ -1,4 +1,4 @@
-;;; rubocop.el --- An Emacs interface for RuboCop
+;;; rubocop.el --- An Emacs interface for RuboCop -*- lexical-binding: t -*-
;; Copyright © 2011-2013 Bozhidar Batsov
@@ -6,7 +6,7 @@
;; URL: https://github.com/bbatsov/rubocop-emacs
;; Version: 0.3
;; Keywords: project, convenience
-;; Package-Requires: ((dash "1.0.0"))
+;; Package-Requires: ((dash "1.0.0") (emacs "24"))
;; This file is NOT part of GNU Emacs.
- [nongnu] elpa/rubocop 4aeda22 14/64: Update README.md, (continued)
- [nongnu] elpa/rubocop 4aeda22 14/64: Update README.md, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop a192b35 26/64: Fix autocorrect-project binding, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop b65a310 10/64: Merge pull request #3 from purcell/patch-1, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 4acece2 17/64: Merge pull request #5 from arthurnn/fix-mode-desc, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 80be17c 13/64: Fix table, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 1ffa08b 05/64: Add a few autoloads, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop ac82199 12/64: Release 0.3, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 329329c 45/64: Bump the development version, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop c6dc521 47/64: Remove a mention of dash.el, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 577df29 16/64: Fix minor-mode description, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop e9a74ce 20/64: Use lexical binding as default,
ELPA Syncer <=
- [nongnu] elpa/rubocop 88bf695 27/64: Merge pull request #16 from rranelli/fix-autocorrect-project-binding, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop c2959fb 38/64: Fix a docstring, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 3afa591 41/64: Make some defvars defcustoms, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 969f60e 53/64: Add some configuration documentation, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 0bf3fcd 59/64: Mention rubocopfmt, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 07ad97a 63/64: Update some metadata, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop c2a4c79 32/64: Update copyright years, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 4219890 34/64: Use #' where applicable, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 9097535 46/64: Update the copyright years, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop b921bec 08/64: Merge pull request #2 from nodo/master, ELPA Syncer, 2021/08/11