diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2014-10-27 12:42:52 +0100 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2014-10-27 12:42:52 +0100 |
commit | 88aea1616152c0e4ed648cdc8ac599d1f443915d (patch) | |
tree | 72f49bf50061a55a1442227e8aae66458c76615e | |
parent | 5447cada95cbbff1e66161c7b570cbf094947514 (diff) |
C-u RET should open a separate buffer
-rw-r--r-- | grid-engine-mode.el | 2 |
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))))) |