summaryrefslogtreecommitdiff
path: root/grid-engine-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'grid-engine-mode.el')
-rw-r--r--grid-engine-mode.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/grid-engine-mode.el b/grid-engine-mode.el
index 19e4881..9eec231 100644
--- a/grid-engine-mode.el
+++ b/grid-engine-mode.el
@@ -38,10 +38,9 @@
(define-key grid-engine-list-mode-map (kbd "g") 'revert-buffer)
(define-key grid-engine-list-mode-map (kbd "<RET>")
(lambda (&optional arg)
- (let ((field (get-text-property (point) 'field))
- (job (get-text-property (point) 'grid-engine-job)))
- (unless (and field job)
(interactive "P")
+ (let ((job (get-text-property (point) 'tabulated-list-id)))
+ (unless job
(error "[Grid Engine] point is not on a field of a job record"))
(grid-engine-job-details job arg)))))