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