From f89d18a2e7bd65d32b176813003c6f23aa1b299a Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Tue, 23 Sep 2014 19:32:44 +0200 Subject: [PATCH] Drop unnecessary requirements --- eyebrowse.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eyebrowse.el b/eyebrowse.el index a43529b..a90d804 100644 --- a/eyebrowse.el +++ b/eyebrowse.el @@ -1,11 +1,11 @@ -;;; eyebrowse.el --- Easy window config switching -*- lexical-binding: t -*- +;;; eyebrowse.el --- Easy window config switching ;; Copyright (C) 2014 Vasilij Schneidermann ;; Author: Vasilij Schneidermann ;; URL: https://github.com/wasamasa/eyebrowse ;; Version: 0.3.1 -;; Package-Requires: ((dash "2.4.0") (s "1.4.0") (emacs "24")) +;; Package-Requires: ((dash "2.4.0")) ;; Keywords: convenience ;; This file is NOT part of GNU Emacs. @@ -37,7 +37,6 @@ ;;; Code: (require 'dash) -(require 's) ;; --- variables ------------------------------------------------------------- @@ -252,12 +251,13 @@ This function keeps the sortedness intact." (or (eq eyebrowse-mode-line-style 'always) (and (eq eyebrowse-mode-line-style 'smart) (> (length window-configs) 1)))) - (s-concat + (concat left-delimiter - (s-join separator + (mapconcat 'identity (-replace-at (-elem-index (number-to-string current-slot) window-config-slots) - active-item window-config-slots)) + active-item window-config-slots) + separator) right-delimiter) "")))