Skip to content

Commit

Permalink
Add optional PROC argument to ess-R-get-arg-help-string
Browse files Browse the repository at this point in the history
  • Loading branch information
vspinu committed Mar 15, 2015
1 parent 3102d29 commit ebb504d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lisp/ess-r-completion.el
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,10 @@ To be used instead of ESS' completion engine for R versions >= 2.7.0."
(goto-char (point-min))
(buffer-string))))))

(defun ess-R-get-arg-help-string (sym)
(defun ess-R-get-arg-help-string (sym &optional proc)
"Help string for ac."
(setq sym (replace-regexp-in-string " *= *\\'" "" sym))
(let ((proc (ess-get-next-available-process)))
(let ((proc (or proc (ess-get-next-available-process))))
(if (null proc)
"No free ESS process found"
(let ((fun (car ess--funname.start)))
Expand Down

0 comments on commit ebb504d

Please sign in to comment.