[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rubocop c0cb592 37/64: Kill the dash.el dependency
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rubocop c0cb592 37/64: Kill the dash.el dependency |
Date: |
Wed, 11 Aug 2021 10:08:00 -0400 (EDT) |
branch: elpa/rubocop
commit c0cb592c13719533ca65f4a93946f7d8387f5ada
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@batsov.com>
Kill the dash.el dependency
---
rubocop.el | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/rubocop.el b/rubocop.el
index 2efed45..38e67dd 100644
--- a/rubocop.el
+++ b/rubocop.el
@@ -6,7 +6,7 @@
;; URL: https://github.com/bbatsov/rubocop-emacs
;; Version: 0.4.0
;; Keywords: project, convenience
-;; Package-Requires: ((dash "1.0.0") (emacs "24"))
+;; Package-Requires: ((emacs "24"))
;; This file is NOT part of GNU Emacs.
@@ -34,7 +34,6 @@
;;
;;; Code:
-(require 'dash)
(require 'tramp)
(defgroup rubocop nil
@@ -69,12 +68,14 @@
(defun rubocop-project-root ()
"Retrieve the root directory of a project if available.
The current directory is assumed to be the project's root otherwise."
- (or (->> rubocop-project-root-files
- (--map (locate-dominating-file default-directory it))
- (-remove #'null)
- (--map (expand-file-name it))
- (car))
- (error "You're not into a project")))
+ (or
+ (car
+ (mapcar #'expand-file-name
+ (delq nil
+ (mapcar
+ (lambda (f) (locate-dominating-file default-directory f))
+ rubocop-project-root-files))))
+ (error "You're not into a project")))
(defun rubocop-buffer-name (file-or-dir)
"Generate a name for the RuboCop buffer from FILE-OR-DIR."
- [nongnu] elpa/rubocop 969f60e 53/64: Add some configuration documentation, (continued)
- [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
- [nongnu] elpa/rubocop 6f4928d 15/64: Merge pull request #4 from arthurnn/patch-1, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop c549052 31/64: Merge pull request #19 from syohex/byte-compile-warning, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop fb20a88 33/64: Tweak some docstrings, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop c0cb592 37/64: Kill the dash.el dependency,
ELPA Syncer <=
- [nongnu] elpa/rubocop 4fdf643 40/64: Add missing space, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 1285711 44/64: [Fix #22] Add a clean way to load RuboCop extensions, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop d4dad32 48/64: Add missing space, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 080454e 54/64: Add a note about rubocop-keymap-prefix, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 6c9c5a9 55/64: Add a bunch of commands for code formatting, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop f5fd18a 64/64: Add the ability to format on save, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop b0c5bc2 62/64: Tweak a heading, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 608a3c1 58/64: Release 0.6.0, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 0131536 39/64: Fix a docstring, ELPA Syncer, 2021/08/11
- [nongnu] elpa/rubocop 1372ee3 60/64: Tweak some wording, ELPA Syncer, 2021/08/11