aboutsummaryrefslogtreecommitdiff
path: root/evil-integration.el
diff options
context:
space:
mode:
authorFrank Fischer <frank.fischer@mathematik.tu-chemnitz.de>2012-03-19 08:28:28 +0100
committerFrank Fischer <frank.fischer@mathematik.tu-chemnitz.de>2012-03-19 08:28:28 +0100
commit8fe314b3a852e07f414df109d5fb0ca5ca1e7f72 (patch)
treeea76f03bf243e9ed7e62164f5101c72262655124 /evil-integration.el
parent239c2c62d90d56428b7e47d98b74e02557ebe8f2 (diff)
Remove call to `evenp' in advice of `show-paren-function'
The function `evenp' is defined by the common-lisp extensions and not available in core emacs. This fixes issue #133.
Diffstat (limited to 'evil-integration.el')
-rw-r--r--evil-integration.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-integration.el b/evil-integration.el
index 169b346..0852ec3 100644
--- a/evil-integration.el
+++ b/evil-integration.el
@@ -126,7 +126,7 @@
(setq pos
(catch 'end
(dotimes (var (1+ (* 2 evil-show-paren-range)))
- (if (evenp var)
+ (if (zerop (mod var 2))
(setq pos (+ pos var))
(setq pos (- pos var)))
(setq syntax (syntax-class (syntax-after pos)))