diff options
author | Nic Ferier <nic@ferrier.me.uk> | 2013-06-18 12:12:05 +0100 |
---|---|---|
committer | Nic Ferier <nic@ferrier.me.uk> | 2013-06-18 12:12:05 +0100 |
commit | 100ec3d037b9c8cc5245489ace6e58dfcac5fa68 (patch) | |
tree | a3ec7ae152158a1cb03cccad25eae039d9eed76a | |
parent | 0f049361b88630df6e501bb6100f0b8355024da7 (diff) |
really simply kvacons makes alists from plist style function calls, bump the version
-rw-r--r-- | kv.el | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4,7 +4,7 @@ ;; Author: Nic Ferrier <nferrier@ferrier.me.uk> ;; Keywords: lisp -;; Version: 0.0.16 +;; Version: 0.0.17 ;; Maintainer: Nic Ferrier <nferrier@ferrier.me.uk> ;; Created: 7th September 2012 @@ -32,6 +32,7 @@ (eval-when-compile (require 'cl)) + (defun kvalist->hash (alist &rest hash-table-args) "Convert ALIST to a HASH. @@ -184,6 +185,10 @@ expression is true." (car pair))))) (cdr pair)))) +(defun kvacons (&rest args) + "Make an alist from the plist style args." + (kvplist->alist args)) + (defun keyword->symbol (keyword) "A keyword is a symbol leading with a :. |