diff options
| -rw-r--r-- | README.org | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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. |
