C-u RET should open a separate buffer
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Mon, 27 Oct 2014 11:42:52 +0000 (12:42 +0100)
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Mon, 27 Oct 2014 11:42:52 +0000 (12:42 +0100)
grid-engine-mode.el

index 5c0265d..19e4881 100644 (file)
   (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)))))