From 629d09a69d4fbb75f0d36fb44d750c515873834d Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 4 Nov 2025 17:48:49 -0600 Subject: docs: Update vc-install instructions for Wttrin in README Simplify Emacs Lisp configuration using `:vc` keyword for Wttrin installation and update. --- README.org | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'README.org') 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. -- cgit v1.2.3