Skip to content

Commit

Permalink
Fix issue with roxygen refilling
Browse files Browse the repository at this point in the history
Partial fix for emacs-ess#263
  • Loading branch information
lionel- committed Nov 5, 2015
1 parent 8ffa19c commit 7d1e641
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion lisp/ess-roxy.el
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,8 @@ list of strings."
(looking-at "#")))
(ess-roxy-with-filling-context
ad-do-it))
((ess-point-in-comment-p)
((and (not (ess-roxy-entry-p))
(ess-point-in-comment-p))
ad-do-it)
;; Filling of call arguments with point on call name
((and ess-fill-calls
Expand Down
9 changes: 4 additions & 5 deletions test/literate/roxy.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ NULL
##' sed do eiusmod tempor incididunt ut labore et dolore magna
##' aliqua. Ut enim ad minim veniam, quis nostrud exercitation
##' ullamco laboris nisi ut aliquip ex ea commodo consequat.
##' @param Lorem ipsum dolor sit amet, consectetur adipiscing
##' elit, sed do eiusmod tempor incididunt ut labore et dolore
##' magna aliqua. Ut enim ad minim veniam, quis nostrud
##' exercitation ullamco laboris nisi ut aliquip ex ea commodo
##' consequat.
##' @param Lorem ipsum dolor sit amet, consectetur adipiscing elit,
##' sed do eiusmod tempor incididunt ut labore et dolore magna
##' aliqua. Ut enim ad minim veniam, quis nostrud exercitation
##' ullamco laboris nisi ut aliquip ex ea commodo consequat.
NULL


Expand Down

0 comments on commit 7d1e641

Please sign in to comment.