aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-03-05 22:43:52 +0100
committerGravatar Tom Willemse2014-03-05 22:43:52 +0100
commited0144ffe70ba7632fdb68524b7bb4814bf766be (patch)
treef1b6b8b2d5a6f7df7d00a35b3fa0b8f167c1bc5f
parentea4cb857306236ca6f7b6514844ccdaa32d0ff65 (diff)
downloadavandu-ed0144ffe70ba7632fdb68524b7bb4814bf766be.tar.gz
avandu-ed0144ffe70ba7632fdb68524b7bb4814bf766be.zip
Fix warnings
Fix warnings about calling `t' as a function.
-rw-r--r--avandu.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/avandu.el b/avandu.el
index a5890ef..c7f89f9 100644
--- a/avandu.el
+++ b/avandu.el
@@ -217,15 +217,15 @@ arguments."
;; Macros
(defmacro avandu--next-button-of-type (direction type)
"Go DIRECTION and find the next button of a TYPE."
- (let ((prop (case type
+ (let ((prop (cl-case type
(feed 'feed-id)
(article 'article-id)
(t (error "Invalid type"))))
- (next-point-function (case direction
+ (next-point-function (cl-case direction
(forward 'point-min)
(backward 'point-max)
(t (error "Invalid direction"))))
- (next-button-function (case direction
+ (next-button-function (cl-case direction
(forward 'next-button)
(backward 'previous-button)
(t (error "Invalid direction")))))