[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 8f3160b 07/11: Fix missing dependency on cl-lib
From: |
Ingo Lohmar |
Subject: |
[elpa] master 8f3160b 07/11: Fix missing dependency on cl-lib |
Date: |
Sun, 02 Aug 2015 14:43:05 +0000 |
branch: master
commit 8f3160b66e1c63688b4b487caa02ab77abb46e9d
Author: Ingo Lohmar <address@hidden>
Commit: Ingo Lohmar <address@hidden>
Fix missing dependency on cl-lib
---
wconf.el | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/wconf.el b/wconf.el
index 242e11b..eecac24 100644
--- a/wconf.el
+++ b/wconf.el
@@ -65,6 +65,8 @@ this can be nil although wc--configs is not empty.")
(defvar wc-string nil
"String representing information on the current configuration.")
+(require 'cl-lib)
+
(defsubst wc--ensure-configs ()
(unless wc--configs
(error "No window configurations")))
@@ -80,7 +82,7 @@ this can be nil although wc--configs is not empty.")
(if index
(format "%s:%s"
(number-to-string index)
- (caddr (wc- index)))
+ (cl-caddr (wc- index)))
(concat "-:" wc-no-config-name)))
(defun wc--update-info ()
@@ -195,7 +197,7 @@ window config."
(wc--to-string wc--index))
(list (wc--copy (car wc))
(wc--copy (cadr wc))
- (caddr wc)))))))
+ (cl-caddr wc)))))))
(wc--use-config (1- (length wc--configs))))
(defun wc-kill ()
@@ -273,8 +275,8 @@ window config."
(interactive
(list
(read-string "New window configuration name: "
- (caddr (wc- wc--index)))))
- (setf (caddr (wc- wc--index)) name)
+ (cl-caddr (wc- wc--index)))))
+ (setf (cl-caddr (wc- wc--index)) name)
(message "wc: Renamed configuration to %s" name)
(wc--update-info))
- [elpa] master updated (6340c15 -> 43c8384), Ingo Lohmar, 2015/08/02
- [elpa] master 5f9ee38 04/11: Check file can be read, Ingo Lohmar, 2015/08/02
- [elpa] master dcce243 03/11: Update README and docstring, Ingo Lohmar, 2015/08/02
- [elpa] master 3bc4e13 02/11: Add a README, Ingo Lohmar, 2015/08/02
- [elpa] master facc191 01/11: Initial commit, Ingo Lohmar, 2015/08/02
- [elpa] master 8f3160b 07/11: Fix missing dependency on cl-lib,
Ingo Lohmar <=
- [elpa] master 2cb1de6 06/11: Fix/enhance interactive declarations, this fixes #1, Ingo Lohmar, 2015/08/02
- [elpa] master e5f23d1 05/11: Only deal with window configurations now, update doc, Ingo Lohmar, 2015/08/02
- [elpa] master b8ea22f 10/11: Bump version and copyright, Ingo Lohmar, 2015/08/02
- [elpa] master ae106c9 08/11: Make interactive functions more robust/friendly, Ingo Lohmar, 2015/08/02
- [elpa] master f67e959 09/11: Use "wconf" as package and filename prefix, Ingo Lohmar, 2015/08/02
- [elpa] master 43c8384 11/11: Add 'packages/wconf/' from commit 'b8ea22f80bff19222136d9495f685888dc682b9d', Ingo Lohmar, 2015/08/02