emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/leaf 466e12a416 6/6: Merge pull request #540 from conao


From: ELPA Syncer
Subject: [elpa] externals/leaf 466e12a416 6/6: Merge pull request #540 from conao3/feature/532
Date: Thu, 3 Aug 2023 03:58:15 -0400 (EDT)

branch: externals/leaf
commit 466e12a4161fdee53bca60a786a460b4680255f1
Merge: fce3378f98 56a05a05d9
Author: Naoya Yamashita <conao3@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #540 from conao3/feature/532
    
    add :vc document
---
 README.md | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index e02975c6e8..61a77e4b18 100644
--- a/README.md
+++ b/README.md
@@ -9,6 +9,7 @@
   - [none (#keyword)](none-keyword)
   - [:require keyword](#require-keyword)
   - [:package, :ensure keywords](#package-ensure-keywords)
+  - [:vc keyword](#vc-keyword)
   - [:preface, :init, :config keywords](#preface-init-config-keywords)
   - [:defer-config keyword](#defer-config-keyword)
   - [:commands keyword](#commands-keyword)
@@ -84,7 +85,7 @@ Currently, `leaf.el` and `leaf-keywords.el` has below rich 
keywords.
 ;;    :preface
 ;;    :when :unless :if
 ;;    :emacs< :emacs<= :emacs= :emacs> :emacs>=
-;;    :ensure :package :feather :straight :el-get
+;;    :ensure :package :vc :feather :straight :el-get
 ;;    :after
 ;;    :commands
 ;;    :bind :bind*
@@ -420,6 +421,32 @@ Since `:ensure` is to use `package.el` by default, 
`:ensure` and `:package` prod
 
 
 
+## :vc keyword
+
+`:vc` provide `package-vc-install` frontend.
+
+```emacs-lisp
+(cort-deftest-with-macroexpand leaf/vc
+  '(((leaf bbdb
+       :vc ( :url "https://git.savannah.nongnu.org/git/bbdb.git";
+             :lisp-dir "lisp"))
+     (prog1 'bbdb
+       (leaf-handler-vc bbdb
+         (bbdb
+          (:url "https://git.savannah.nongnu.org/git/bbdb.git"; :lisp-dir 
"lisp")))))
+
+    ((leaf *bbdb-custom*
+       :vc (bbdb
+            :url "https://git.savannah.nongnu.org/git/bbdb.git";
+            :lisp-dir "lisp"))
+     (prog1 '*bbdb-custom*
+       (leaf-handler-vc *bbdb-custom*
+         (bbdb
+          (:url "https://git.savannah.nongnu.org/git/bbdb.git"; :lisp-dir 
"lisp")))))))
+```
+
+
+
 ## :preface, :init, :config keywords
 
 These keywords are provided to directly describe elisp with various settings 
that `leaf` does not support.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]