summaryrefslogtreecommitdiff
path: root/lisp/winner.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/winner.el')
-rw-r--r--lisp/winner.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/winner.el b/lisp/winner.el
index 56d9be8b40b..4852e2992e5 100644
--- a/lisp/winner.el
+++ b/lisp/winner.el
@@ -45,7 +45,7 @@
(require 'cl)
(cond
- ((eq (sref (emacs-version) 0) ?X)
+ ((eq (aref (emacs-version) 0) ?X)
(defmacro winner-active-region ()
'(region-active-p))
(defsetf winner-active-region () (store)