From 3420b177d5d6dfe67e02dedc2bf0e056b6a86f18 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 27 Oct 2014 12:14:49 +0100 Subject: job-details function needs only job object, not field --- grid-engine-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grid-engine-mode.el b/grid-engine-mode.el index 7c1242d..6162ec1 100644 --- a/grid-engine-mode.el +++ b/grid-engine-mode.el @@ -43,7 +43,7 @@ (job (get-text-property (point) 'grid-engine-job))) (unless (and field job) (error "[Grid Engine] point is not on a field of a job record")) - (grid-engine-job-details field job arg)))) + (grid-engine-job-details job arg))))) (defun grid-engine--init-header () (grid-engine-update-list-format) @@ -148,7 +148,7 @@ (tabulated-list-print) (message nil))) -(defun grid-engine-job-details (field job &optional new-buffer) +(defun grid-engine-job-details (job &optional new-buffer) (let* ((job-id (cdr (assoc 'job-id job))) (cmd (concat grid-engine-qstat " -j " job-id)) (title (if new-buffer -- cgit v1.2.3