summaryrefslogtreecommitdiff
path: root/rt-liberation.el
diff options
context:
space:
mode:
authorYoni Rabkin <yonirabkin@member.fsf.org>2014-02-27 14:18:24 -0500
committerYoni Rabkin <yonirabkin@member.fsf.org>2014-02-27 14:18:24 -0500
commit1aa19e9dc6386624c76d44f00d53be1a6ba8d57a (patch)
tree417486831fc2112383d98cd8f3c78bbf3cc79b37 /rt-liberation.el
parent146b0ed187177fb15723d1c243acc6ed35eba69f (diff)
Fix compilation errors.
Diffstat (limited to 'rt-liberation.el')
-rw-r--r--rt-liberation.el15
1 files changed, 11 insertions, 4 deletions
diff --git a/rt-liberation.el b/rt-liberation.el
index 995a767..f67c8ec 100644
--- a/rt-liberation.el
+++ b/rt-liberation.el
@@ -187,6 +187,15 @@ Careful! This might create a sizable buffer.")
(defvar rt-liber-debug-log-buffer-name "*rt-liber debug log*"
"Name of debug log buffer.")
+(defvar rt-liber-ticket-local nil
+ "Buffer local storage for a ticket.
+
+This variable is made buffer local for the ticket history")
+
+(defvar rt-liber-assoc-browser nil
+ "Browser associated with a ticket history.
+
+This variable is made buffer local for the ticket history")
;;; --------------------------------------------------------
;;; Debug log
@@ -585,8 +594,6 @@ AFTER date after predicate."
'rt-liber-refresh-ticket-history)
(set (make-local-variable 'buffer-stale-function)
(lambda (&optional noconfirm) 'slow))
- (set (make-local-variable 'auto-revert-interval)
- (* 15 60)) ;; 15 minutes
(when rt-liber-jump-to-latest
(rt-liber-jump-to-latest-correspondence))
(run-hooks 'rt-liber-viewer-hook))
@@ -854,6 +861,7 @@ If POINT is nil then called on (point)."
(recenter-top-bottom))
(error "ticket #%s not found" id))))
+
;;; --------------------------------------------------------
;;; Ticket browser sorting
;;; --------------------------------------------------------
@@ -1048,8 +1056,6 @@ string then that will be the name of the new buffer."
'rt-liber-browser-refresh)
(set (make-local-variable 'buffer-stale-function)
(lambda (&optional noconfirm) 'slow))
- (set (make-local-variable 'auto-revert-interval)
- (* 15 60)) ;; 15 minutes
(run-hooks 'rt-liber-browser-hook))
(defun rt-liber-setup-browser-name (new)
@@ -1311,6 +1317,7 @@ If FIELD already exists, update to VALUE."
(rt-liber-refresh-ticket-history)))
(error "no ticket currently in view"))))
+
(provide 'rt-liberation)
;;; rt-liberation.el ends here.