aboutsummaryrefslogtreecommitdiff
path: root/sx-inbox.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-inbox.el')
-rw-r--r--sx-inbox.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/sx-inbox.el b/sx-inbox.el
index d0be379..21589fb 100644
--- a/sx-inbox.el
+++ b/sx-inbox.el
@@ -1,4 +1,4 @@
-;;; sx-inbox.el --- Base inbox logic. -*- lexical-binding: t; -*-
+;;; sx-inbox.el --- base inbox logic -*- lexical-binding: t; -*-
;; Copyright (C) 2014 Artur Malabarba
@@ -28,7 +28,7 @@
;;; API
-(defvar sx-inbox-filter
+(defconst sx-inbox-filter
'((inbox_item.answer_id
inbox_item.body
inbox_item.comment_id
@@ -69,6 +69,7 @@ KEYWORDS are added to the method call along with PAGE.
`sx-method-call' is used with `sx-inbox-filter'."
(sx-method-call (if notifications 'notifications 'inbox)
:keywords keywords
+ :page page
:filter sx-inbox-filter))
@@ -91,7 +92,7 @@ These are identified by their links.")
"List of notification items which are read.
These are identified by their links.")
-(defvar sx-inbox--header-line
+(defconst sx-inbox--header-line
'(" "
(:propertize "n p j k" face mode-line-buffer-id)
": Navigate"
@@ -106,7 +107,7 @@ These are identified by their links.")
": Quit")
"Header-line used on the inbox list.")
-(defvar sx-inbox--mode-line
+(defconst sx-inbox--mode-line
'(" "
(:propertize
(sx-inbox--notification-p