]> git.donarmstrong.com Git - lib.git/commitdiff
skip avy if we're not in emacs25
authorDon Armstrong <don@donarmstrong.com>
Tue, 27 Mar 2018 18:13:05 +0000 (11:13 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 27 Mar 2018 18:13:05 +0000 (11:13 -0700)
emacs_el/configuration/don-configuration.org

index 5467a8be58e5b59d3d670457f6e9df3b4613e47c..6265a5b3e969cd683e3e7f71d916132e82cdba1f 100644 (file)
@@ -310,6 +310,7 @@ value, scrolling continues until there is no more output.
 *** Avy
 #+BEGIN_SRC emacs-lisp
   (use-package avy
+    :if (>= emacs-major-version 25)
     :ensure t
     :bind (("C-c C-<SPC>" . avy-goto-word-or-subword-1)
            ("C-c j j" . avy-goto-word-or-subword-1)