summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-04 17:48:49 -0600
committerCraig Jennings <c@cjennings.net>2025-11-04 17:48:49 -0600
commit629d09a69d4fbb75f0d36fb44d750c515873834d (patch)
tree3be5ad1f8d35a340071c07f98de541b2090bfab4
parente735f9d97786f35dfd95ddb82277333d68a3c737 (diff)
docs: Update vc-install instructions for Wttrin in README
Simplify Emacs Lisp configuration using `:vc` keyword for Wttrin installation and update.
-rw-r--r--README.org5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.org b/README.org
index 9fc2787..244c16f 100644
--- a/README.org
+++ b/README.org
@@ -33,15 +33,14 @@ With the cursor after the last closing parentheses, press "C-x C-e". Emacs will
If you're running Emacs 30 or later, you can install Wttrin directly from its Git repository using the built-in package-vc system. This is particularly handy if you want to track the latest development or contribute bug fixes.
#+begin_src emacs-lisp
- (unless (package-installed-p 'wttrin)
- (package-vc-install "https://github.com/cjennings/emacs-wttrin" nil nil 'wttrin))
(use-package wttrin
+ :vc (:url "https://github.com/cjennings/emacs-wttrin" :rev :newest)
:bind ("C-c w" . wttrin)
:custom
(wttrin-default-locations '("Jeffreys Bay" "Raglan" "Mundaka")))
#+end_src
-The package-vc system automatically handles updates when you run `M-x package-vc-upgrade`, making it easy to stay current with the main branch.
+The `:vc` keyword automatically handles installation from the repository and updates when you run `M-x package-vc-upgrade`, making it easy to stay current with the main branch.
*** Straight
For the Elisp hackers using Straight for lockfiles or for easy hacking on bug fix PRs, you probably don't need me to tell you what to put in your Emacs init, but here it is anyway.