summaryrefslogtreecommitdiff
path: root/rt-liberation.el
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2020-11-20 12:32:05 -0500
committerYoni Rabkin <yoni@rabkins.net>2020-11-20 12:32:05 -0500
commit45275d3be36e9fe8c78b402ef64c926be152f6aa (patch)
tree08b58d464607b46cec7d89056d0cd6fbf7383a07 /rt-liberation.el
parentbcbf368acd9156850334bc6085990a17c7065051 (diff)
splitting aside code for viewer2
Diffstat (limited to 'rt-liberation.el')
-rw-r--r--rt-liberation.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/rt-liberation.el b/rt-liberation.el
index ef3c84f..9fbcdf5 100644
--- a/rt-liberation.el
+++ b/rt-liberation.el
@@ -645,6 +645,14 @@ If POINT is nil then called on (point)."
(let ((ticket-alist (get-text-property (point) 'rt-ticket)))
(rt-liber-display-ticket-history ticket-alist (current-buffer))))
+;; remove after release START
+(defun rt-liber-viewer2-display-ticket-at-point ()
+ "Display the contents of the ticket at point."
+ (interactive)
+ (let ((ticket-alist (get-text-property (point) 'rt-ticket)))
+ (rt-liber-viewer2-display-ticket-history ticket-alist (current-buffer))))
+;; remove after release END
+
(defun rt-liber-browser-search (id)
"Return point where ticket with ID is displayed or nil."
(let ((p nil))